Text Attributes

Modify how text is displayed, entered, and laid out.

Topics

Text Attributes

accessibilityText

Adds hidden text to an element that is used when VoiceOver is enabled.

firstName

Adds a person's first name to an element.

lastName

Adds a person's last name to an element.

layoutDirection

Specifies the direction in which text is displayed.

secure

Hides typed text.

showSpinner

Displays a rotating spinner icon inside of a search field.

Date Settings

format

Specifies how a date is displayed.

locale

Sets the locale for the date element.

Keyboard Types

keyboardType

Specifies the keyboard to display.

See Also

Attributes

Image Attributes

Retrieve images from a server and specify how they fit into an element.

Focus Attributes

Define how an element acts when it comes into focus.

Binding and DOM Manipulation

Implement binding and impove DOM manipulation options.

Inline Playback

Set when and how inline playback is initiated.

Alignment, Scrolling, and Coloring

Align elements within a shelf, set how your app reacts to scrolling, and set the overall color scheme for your app.