Interface IFinishButtonConfig
Provides button properties. For details, you can refer to the FinishButton widget topic.
{
"widgets": [
{
"type": "finish-button",
"name": "finish-btn",
"params": {
"enabled": true,
"onClick": [
"{{ #function cart.submit() }}"
]
}
}
]
}
Package: ui-framework
Properties
enabled
Defines whether the button is clickable, true
or false
.
Declaration
enabled: boolean
Property Value
Type | Description |
---|---|
boolean | Defines whether the button is clickable, |
onClick
A single function or an array of functions that will be executed when the button is clicked.
Declaration
onClick: Function | Array<Function>
Property Value
Type | Description |
---|---|
Function | Array<Function> | A single function or an array of functions that will be executed when the button is clicked. |
visible
Defines whether the button is visible, true
or false
.
Declaration
visible: boolean
Property Value
Type | Description |
---|---|
boolean | Defines whether the button is visible, |