Icon¶
An icon which can communicate the action that it is going to initiate. Users can click on the icon to begin a process or workflow, or to trigger an action.
Icon Properties¶
Property | Type | Required | Default |
---|---|---|---|
Icon | Image | Required | |
OnPress | ActionOrRule | Optional | |
Position | enum |
Optional | "Left" |
Styles | object |
Optional | |
Visible | boolean |
Optional | true |
_Name | string |
Required | |
_Type | const |
Required |
Icon¶
Icon to be displayed in the section header.
- 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
Position¶
Display position of the label in the section header.
- type:
enum
- default:
"Left"
The value of this property must be equal to one of the known values below.
Position Known Values¶
Value | Description |
---|---|
Left |
|
Right |
Styles¶
Set styles for icon.
- type:
object
with following properties.
Property | Type | Required | Default |
---|---|---|---|
Icon | string |
Optional |
Icon¶
The string value is a style class name for Icon
. It is applicable only to SAP icon or font icon types (Supported CSS properties are font-size and color).
- 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 equal to:
"SectionHeaderItem.Type.Icon"