NOTE! You are browsing legacy documentation. For latest visit docs.nativescript.org.

NativeScript Core

Keyboard Type

All widgets that inherit from EditableTextBase, i.e., TextField and TextView, have a keyboardType property that gets or sets the soft keyboard type that will be shown while in edit mode. Possible values are contained in the KeyboardType enumeration.

Return Key Type

All widgets that inherit from EditableTextBase, i.e., TextField and TextView, have a returnKeyType property that gets or sets the soft keyboard return key type. Possible values are contained in the ReturnKeyType enumeration.