UNPKG

@hummingbirdui/hummingbird

Version:

An open-source system designed for rapid development, without sacrificing the granular control of utility-first CSS.

22 lines (21 loc) 660 B
export interface AlertInstance { close(): void; dispose(): void; } export type ComponentOptions = Record<string, any>; declare enum AlertEvents { close = "close.bs.alert", closed = "closed.bs.alert" } export interface AlertClass { readonly VERSION: string; readonly DATA_KEY: string; readonly EVENT_KEY: string; NAME: 'alert'; new (element: string | Element): AlertInstance; getInstance(element: string | Element): AlertInstance | null; getOrCreateInstance(element: string | Element, config?: ComponentOptions): AlertInstance; Events: typeof AlertEvents; } declare const Alert: AlertClass; export default Alert;