UNPKG

@ribajs/bs5

Version:

Bootstrap 5 module for Riba.js

27 lines (26 loc) 1.07 kB
import { Component, ScopeBase } from "@ribajs/core"; import { EventDispatcher } from "@ribajs/events"; import { Notification } from "../../types/index.js"; export interface Scope extends ScopeBase { iconUrl?: string; positionClass: string; notifications: Notification[]; channelName: string; onItemHide: Bs5NotificationContainerComponent["onItemHide"]; } export declare class Bs5NotificationContainerComponent extends Component { static tagName: string; protected autobind: boolean; _debug: boolean; protected notificationDispatcher?: EventDispatcher; static get observedAttributes(): string[]; scope: Scope; constructor(); protected connectedCallback(): void; onItemHide(this: Scope, event: Event, el: HTMLElement, index: number, notification: Notification): void; protected onShowNotification(notification: Notification): void; protected afterBind(): Promise<void>; protected disconnectedCallback(): void; protected requiredAttributes(): string[]; protected template(): Promise<string | null>; }