UI Framework ReferenceIFinishButtonConfig

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() }}"
        ]
      }
    }
  ]
}

Hierarchy

  • IFinishButtonConfig

Index

Properties

Properties

enabled

enabled: boolean

Defined in src/widgets/au-widget-finish-button/IFinishButtonConfig.ts:27

Defines whether the button is clickable, true or false.


onClick

onClick: Function | Array‹Function›

Defined in src/widgets/au-widget-finish-button/IFinishButtonConfig.ts:29

A single function or an array of functions that will be executed when the button is clicked.


visible

visible: boolean

Defined in src/widgets/au-widget-finish-button/IFinishButtonConfig.ts:25

Defines whether the button is visible, true or false.