@aurigma/ui-framework
Version:
A platform which allows building print product personalization editors based on Aurigma's Customer's Canvas.
60 lines (38 loc) • 1.02 kB
Markdown
Provides button properties.
For details, you can refer to the [FinishButton widget](https://customerscanvas.com/dev/editors/ui-framework/widgets/finish-button.html) topic.
```
{
"widgets": [
{
"type": "finish-button",
"name": "finish-btn",
"params": {
"enabled": true,
"onClick": [
"{{ #function cart.submit() }}"
]
}
}
]
}
```
* **IFinishButtonConfig**
* [enabled](ifinishbuttonconfig.md
* [onClick](ifinishbuttonconfig.md
* [visible](ifinishbuttonconfig.md
• **enabled**: *boolean*
Defines whether the button is clickable, `true` or `false`.
___
• **onClick**: *Function | Array‹Function›*
A single function or an array of functions that will be executed when the button is clicked.
___
• **visible**: *boolean*
Defines whether the button is visible, `true` or `false`.