ranui
Version:
A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.
9 lines (8 loc) • 402 B
TypeScript
export interface MessageRenderOptions {
top?: number | string;
zIndex?: number | string;
getContainer?: () => HTMLElement | null;
}
export declare const getMessageHostSelector: () => string;
export declare const applyHostStyle: (host: HTMLElement, options?: MessageRenderOptions) => void;
export declare const getMessageContainer: (options?: MessageRenderOptions) => HTMLDivElement | null;