A visual representation of an Action. The API of ActionItem is a copy of the API of Action, with additional properties to define visual aspects of the ActionItem.
|Import Statement:||import Ubuntu.Components 1.3|
|Inherited By:||AbstractButton, BottomEdgeHint, and ToolbarButton .|
|action : Action|
|iconName : string|
The icon associated with the actionItem in the suru icon theme. Defaults to
Note: The complete list of icons available in Ubuntu is not published yet. For now please refer to the folders where the icon themes are installed:
- Ubuntu Touch: /usr/share/icons/suru
- Ubuntu Desktop: /usr/share/icons/ubuntu-mono-dark
These 2 separate icon themes will be merged soon.
If both iconSource and iconName are defined, iconName will be ignored.
|iconSource : url|
The image associated with the ActionItem. Defaults to
|text : string|
The title of the actionItem. Defaults to the