Files
2022-03-22 21:13:56 +01:00

13 lines
348 B
TypeScript

import { BaseElement } from "../../../shared/_base";
import './notification-bubble.less';
export class NotificationBubble extends BaseElement {
onInit(): void {
if (!this.classList.contains("syntax-error")) {
setTimeout(() => {
this.parentElement?.removeChild(this);
}, 4000);
}
}
}