iconAlignment([alignment])

Class: Button. Method inherited from UIComponent.

Description:

Sets or gets an alignment of icon relative to text of a Label, Button, or items of a List.

Parameters:

Name Type Description

[alignment]

string

A combination of one or more words: "top right bottom left center leading trailing"

Returns:

Returns this component if an argument is provided, otherwise returns string value.

Type: this | string