jb-notification
Version:
notification web component
27 lines • 988 B
TypeScript
import type { ElementsObject, NotificationType } from './types.js';
export { NotificationType };
export declare const notificationTypes: NotificationType[];
export declare class JBNotificationWebComponent extends HTMLElement {
#private;
get title(): string;
set title(value: string);
get description(): string | null;
set description(value: string | null);
get type(): NotificationType;
set type(value: NotificationType);
get state(): "OPEN" | "CLOSE";
elements: ElementsObject;
constructor();
initWebComponent(): void;
static get observedAttributes(): string[];
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
onAttributeChange(name: string, value: string): void;
updateUIBaseOnType(type: NotificationType): void;
show(): void;
hide(): void;
onClose(): void;
updateDom(): void;
onTimerFinished(): void;
initSwipe(): void;
}
//# sourceMappingURL=jb-notification.d.ts.map