Back to Website
Show / Hide Table of Contents

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, true or false.

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, true or false.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback