NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view in github
Search
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"ui/dialogs"
External module "ui/dialogs"
Globals
"ui/dialogs"
capitalization
Type
input
Type
Action
Options
Alert
Options
Cancelable
Options
Confirm
Options
Dialog
Options
Login
Options
Login
Result
Prompt
Options
Prompt
Result
action
alert
confirm
login
prompt
Index
Modules
capitalization
Type
input
Type
Interfaces
Action
Options
Alert
Options
Cancelable
Options
Confirm
Options
Dialog
Options
Login
Options
Login
Result
Prompt
Options
Prompt
Result
Functions
action
alert
confirm
login
prompt
Functions
action
action
(
message
:
string
, cancelButtonText
:
string
, actions
:
Array
<
string
>
)
:
Promise
<
string
>
action
(
options
:
ActionOptions
)
:
Promise
<
string
>
Parameters
message:
string
cancelButtonText:
string
actions:
Array
<
string
>
Returns
Promise
<
string
>
Parameters
options:
ActionOptions
Returns
Promise
<
string
>
alert
alert
(
message
:
string
|
number
|
boolean
)
:
Promise
<
void
>
alert
(
options
:
AlertOptions
)
:
Promise
<
void
>
Parameters
message:
string
|
number
|
boolean
Returns
Promise
<
void
>
Parameters
options:
AlertOptions
Returns
Promise
<
void
>
confirm
confirm
(
message
:
string
)
:
Promise
<
boolean
>
confirm
(
options
:
ConfirmOptions
)
:
Promise
<
boolean
>
Parameters
message:
string
Returns
Promise
<
boolean
>
Parameters
options:
ConfirmOptions
Returns
Promise
<
boolean
>
login
login
(
message
:
string
, userNameHint
?:
string
, passwordHint
?:
string
, userName
?:
string
, password
?:
string
)
:
Promise
<
LoginResult
>
login
(
message
:
string
, userNameHint
?:
string
, passwordHint
?:
string
)
:
Promise
<
LoginResult
>
login
(
options
:
LoginOptions
)
:
Promise
<
LoginResult
>
Parameters
message:
string
Optional
userNameHint:
string
Optional
passwordHint:
string
Optional
userName:
string
Optional
password:
string
Returns
Promise
<
LoginResult
>
Parameters
message:
string
Optional
userNameHint:
string
Optional
passwordHint:
string
Returns
Promise
<
LoginResult
>
Parameters
options:
LoginOptions
Returns
Promise
<
LoginResult
>
prompt
prompt
(
message
:
string
, defaultText
?:
string
)
:
Promise
<
PromptResult
>
prompt
(
options
:
PromptOptions
)
:
Promise
<
PromptResult
>
Parameters
message:
string
Optional
defaultText:
string
Returns
Promise
<
PromptResult
>
Parameters
options:
PromptOptions
Returns
Promise
<
PromptResult
>
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
🐛 Debug your mobile network traffic with Fiddler! Try it on
iOS
or
Android