- Preparing search index...
- The search index is not available
Methods
alert
- alert(msg: string | HTMLElement, title?: string | (() => false | void), callback?: string | ((dialog: IDialog) => false | void), className?: string): IDialog
-
Parameters
-
-
Optional
title: string | (() => false | void)
-
Optional
callback: string | ((dialog: IDialog) => false | void)
-
Optional
className: string
confirm
- confirm(msg: string, title: undefined | string | ((yes: boolean) => void), callback?: ((yes: boolean) => false | void)): IDialog
-
Parameters
-
msg: string
-
title: undefined | string | ((yes: boolean) => void)
-
Optional
callback: ((yes: boolean) => false | void)
-
- (yes: boolean): false | void
-
Returns false | void
prompt
- prompt(msg: string, title: undefined | string | (() => false | void), callback: ((value: string) => false | void), placeholder?: string, defaultValue?: string): IDialog
-
Parameters
-
msg: string
-
title: undefined | string | (() => false | void)
-
callback: ((value: string) => false | void)
-
- (value: string): false | void
-
Returns false | void
-
Optional
placeholder: string
-
Optional
defaultValue: string