Skip to content

Latest commit

 

History

History
162 lines (94 loc) · 3.74 KB

PromptOptions.md

File metadata and controls

162 lines (94 loc) · 3.74 KB
title PromptOptions
titleTemplate title - API / NativeScript
description Provides options for the prompt dialog.
contributors false

Defined in: ui/dialogs/index.d.ts:225

Provides options for the prompt dialog.

Extends

Properties

cancelable?

optional cancelable?: boolean;

Defined in: ui/dialogs/index.d.ts:144

[Android only] Gets or sets if the dialog can be canceled by taping outside of the dialog.

Inherited from

ConfirmOptions.cancelable


cancelButtonText?

optional cancelButtonText?: string;

Defined in: ui/dialogs/index.d.ts:214

Gets or sets the Cancel button text.

Inherited from

ConfirmOptions.cancelButtonText


capitalizationType?

optional capitalizationType?: string;

Defined in: ui/dialogs/index.d.ts:239

Gets or sets the prompt capitalizationType (none, all, sentences, or words).


defaultText?

optional defaultText?: string;

Defined in: ui/dialogs/index.d.ts:229

Gets or sets the default text to display in the input box.


inputType?

optional inputType?: string;

Defined in: ui/dialogs/index.d.ts:234

Gets or sets the prompt input type (plain text, password, or email).


message?

optional message?: string;

Defined in: ui/dialogs/index.d.ts:194

Gets or sets the dialog message.

Inherited from

ConfirmOptions.message


neutralButtonText?

optional neutralButtonText?: string;

Defined in: ui/dialogs/index.d.ts:219

Gets or sets the neutral button text.

Inherited from

ConfirmOptions.neutralButtonText


okButtonText?

optional okButtonText?: string;

Defined in: ui/dialogs/index.d.ts:204

Gets or sets the OK button text.

Inherited from

ConfirmOptions.okButtonText


theme?

optional theme?: number;

Defined in: ui/dialogs/index.d.ts:149

[Android only] Sets the theme of the Dialog. Usable themes can be found: https://developer.android.com/reference/android/R.style

Inherited from

ConfirmOptions.theme


title?

optional title?: string;

Defined in: ui/dialogs/index.d.ts:189

Gets or sets the dialog title.

Inherited from

ConfirmOptions.title