Action

Describe an action that can be re-used in, for example a Button More...

Import Statement: import Ubuntu.Components 0.1

Properties

Detailed Description

This component is under heavy development.

Examples: See Page

Property Documentation

iconName : string

The icon associated with the action.

This is the name of the icon in the ubuntu-mobile theme. If both iconSource and iconName are defined, iconName will be ignored.

Example:

Action {
    iconName: "compose"
}

Note: The complete list of icons available in Ubuntu is not published yet. For now please refer to the folder where the icon theme is installed:


iconSource : url

The image associated with the action.

This is a URL to any image file. In order to use an icon from the Ubuntu theme, use the iconName property instead.