TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

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

Defines whether the button is clickable, true or false.


onClick

onClick: Function | Array‹Function›

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


visible

visible: boolean

Defines whether the button is visible, true or false.