sweetalert
Version:
A beautiful replacement for JavaScript's "alert"
8 lines (7 loc) • 450 B
TypeScript
export declare const getNode: (className: string) => HTMLElement;
export declare const stringToNode: (html: string) => HTMLElement;
export declare const insertAfter: (newNode: Node, referenceNode: Node) => void;
export declare const removeNode: (node: Node) => void;
export declare const throwErr: (message: string) => never;
export declare const isPlainObject: (value: any) => boolean;
export declare const ordinalSuffixOf: (num: number) => string;