Skip to content

Interface: IButton

Boris Jenicek edited this page Dec 20, 2021 · 2 revisions

Interface: IButton

Interface for custom button.

Example:

// Custom button object.
const button = {
       ID         : 'confirm_btn',
       label:     : 'Confirm'
       layoutType : ButtonLayoutDisplay.SUCCESS
 }
// Or instantiated with ButtonMaker class
const button2 = new ButtonMaker('Confirm', 'confirm_btn', ButtonLayoutDisplay.SUCCESS)

Implemented by

Properties

ID

Optional ID: string


label

label: string


layoutType

layoutType: ButtonLayoutDisplay

Clone this wiki locally