Article

lastName

Adds a person's last name to an element.

Overview

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

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

Values for lastName

String

The last name of a person.

Elements that Use lastName

See Also

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.

layoutDirection

Specifies the direction in which text is displayed.

secure

Hides typed text.

showSpinner

Displays a rotating spinner icon inside of a search field.