Skip to content

Interface: IButton

CostlyDeveloper edited this page Apr 21, 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