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