Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
BootboxStatic
Interface BootboxStatic
Index
Methods
addLocale
alert
animate
backdrop
classes
confirm
dialog
hideAll
prompt
setIcons
setLocale
Methods
public
addLocale
(
localeName
:
string
, translations
:
BootboxLocale
)
Parameters
localeName:
string
translations:
BootboxLocale
public
alert
(
message
:
string
, callback
:
() => void
)
Parameters
message:
string
callback:
() => void
public
alert
(
message
:
string
, customButtonText
?:
string
, callback
?:
() => void
)
Parameters
message:
string
customButtonText?:
string
optional
callback?:
() => void
optional
public
animate
(
shouldAnimate
:
boolean
)
Parameters
shouldAnimate:
boolean
public
backdrop
(
backdropValue
:
string
)
Parameters
backdropValue:
string
public
classes
(
customCssClasses
:
string
)
Parameters
customCssClasses:
string
public
confirm
(
message
:
string
, callback
:
(result: boolean) => void
)
Parameters
message:
string
callback:
(result: boolean) => void
public
confirm
(
message
:
string
, cancelButtonText
?:
string
, confirmButtonText
?:
string
, callback
?:
(result: boolean) => void
)
Parameters
message:
string
cancelButtonText?:
string
optional
confirmButtonText?:
string
optional
callback?:
(result: boolean) => void
optional
public
dialog
(
message
:
string
, handlers
:
BootboxHandler
[]
, options
?:
any
)
Parameters
message:
string
handlers:
BootboxHandler
[]
options?:
any
optional
public
dialog
(
message
:
string
, handler
:
BootboxHandler
)
Parameters
message:
string
handler:
BootboxHandler
public
dialog
(
message
:
string
)
Parameters
message:
string
public
hideAll
(
)
public
prompt
(
message
:
string
, callback
:
(result: string) => void
, defaultValue
?:
string
)
Parameters
message:
string
callback:
(result: string) => void
defaultValue?:
string
optional
public
prompt
(
message
:
string
, cancelButtonText
?:
string
, confirmButtonText
?:
string
, callback
?:
(result: string) => void
, defaultValue
?:
string
)
Parameters
message:
string
cancelButtonText?:
string
optional
confirmButtonText?:
string
optional
callback?:
(result: string) => void
optional
defaultValue?:
string
optional
public
setIcons
(
icons
:
BootboxIcons
)
Parameters
icons:
BootboxIcons
public
setLocale
(
localeName
:
string
)
Parameters
localeName:
string
Globals