ui-framework-jps
Version:
A simple UI framework for state management and UI components
14 lines • 441 B
JavaScript
import { v4 } from "uuid";
export class Notification {
constructor(notificationManager) {
this.show = this.show.bind(this);
this.id = v4();
this.notificationManager = notificationManager;
// Create DOM notification structure when instantiated
this.containerId = this.notificationManager.getContainerId();
}
getId() {
return this.id;
}
}
//# sourceMappingURL=Notification.js.map