added two apps, and better implementation
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { BaseElement } from "../_base";
|
||||
import './notification-bubble.less';
|
||||
|
||||
export class NotificationBubble extends BaseElement {
|
||||
onInit(): void {
|
||||
|
||||
if (!this.classList.contains("syntax-error")) {
|
||||
setTimeout(() => {
|
||||
this.parentElement?.removeChild(this);
|
||||
}, 4000);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user