ready( callback?: () => void,): { alert: ( content: string, options?: LayerOptions | (
(index: number, layero: HTMLElement) => void)
, yes?: (index: number, layero: HTMLElement) => void, ) => number; close: (index: number, callback?: () => void) => void; closeAll: (type?: string | (
() => void)
, callback?: () => void) => void; config: ( options?: LayerConfigOptions, ) => { v: string; readonly index: number; readonly zIndex: number; config: (options?: LayerConfigOptions) => ...; ready: (callback?: (() => void) | undefined) => ...; open: (options?: LayerOptions) => number; ... 19 more ...; destroy: (targetDocument?: Document | undefined) => void; }
; confirm: ( content: string, options?: LayerOptions | (
(index: number, layero: HTMLElement) => void)
, yes?: (index: number, layero: HTMLElement) => void, cancel?: (index: number, layero: HTMLElement) => void, ) => number; destroy: (targetDocument?: Document) => void; full: (index: number) => void; getChildFrame: (selector: string, index?: number) => HTMLElement | null; getFrameIndex: (name: string) => number | null; iframeAuto: (index: number) => void; iframeSrc: (index: number, url: string) => void; load: (icon?: LayerIcon, options?: LayerOptions) => number; min: (index: number, options?: Partial<LayerOptions>) => void; msg: ( content: string, options?: LayerOptions | (
() => void)
, end?: () => void, ) => number; open: (options?: LayerOptions) => number; prompt: ( options?: LayerPromptOptions, yes?: ( value: string, index: number, input: HTMLInputElement | HTMLTextAreaElement, ) => void, ) => number; ready: ( callback?: () => void, ) => { v: string; readonly index: number; readonly zIndex: number; config: (options?: LayerConfigOptions) => ...; ready: (callback?: (() => void) | undefined) => ...; open: (options?: LayerOptions) => number; ... 19 more ...; destroy: (targetDocument?: Document | undefined) => void; }
; restore: (index: number) => void; setTop: (indexOrElement: number | HTMLElement) => number; style: (index: number, options: LayerStyleOptions) => void; tab: (options: LayerTabOptions) => number; tips: ( content: string, follow: string | HTMLElement, options?: LayerTipsOptions, ) => number; title: (name: string, index?: number) => void; v: string; get index(): number; get zIndex(): number;}
Open a loading layer. Numeric icons retain the animated spinner variants; named icons render the corresponding static embedded Bootstrap icon.