Article

firstName

Adds a person's first name to an element.

Overview

Here's an example that sets the first name for a monogram.

<monogramLockup>
    <monogram firstName="Anne" lastName="Johnson"/>
    <title>Anne Johnson</title>
    <subtitle>Actor</subtitle>
</monogramLockup>

Values for firstName

String

The first name of a person.

Elements that Use firstName

See Also

Text Attributes

accessibilityText

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

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.