Icon¶
A FioriToolbar icon indicates the action it will initiate. Users can click on the icon to start a process, workflow, or trigger an action.
When assigning a rule to a property of Icon, the rule will be passed an instance of the following proxy class as an argument:
Icon Properties¶
| Property | Type | Required | Default |
|---|---|---|---|
| Icon | Image | Yes | |
| OnPress | ActionOrRule | No | |
| Styles | object |
No | |
| Visible | boolean |
No | true |
| _Name | string |
Yes | |
| _Type | const |
Yes |
Icon¶
Icon to be displayed for the FioriToolbar item.
- type: Image
OnPress¶
Action/Rule to be executed when the icon is clicked. The ClientAPI object to be received in rule function is SectionProxy.
- type: ActionOrRule
- Formatter and Binding are not supported
Styles¶
Set styles for icon.
- type:
objectwith following properties.
| Property | Type | Required | Default |
|---|---|---|---|
| Icon | string | No |
Icon¶
The string value is a style class name of Icon.
- Image style class
Visible¶
Sets the visibility of the control.
-
type:
boolean -
default:
true
_Name¶
- type:
string
_Type¶
- type:
const
The value of this property must be:
"FioriToolbarItem.Type.Icon"