BaseButton options.

Hierarchy

Properties

clickHandler: ((ev: any) => Promise<any>)

Type declaration

    • (ev: any): Promise<any>
    • A function that gets called when the button was clicked. Must return a Promise

      Parameters

      • ev: any

      Returns Promise<any>

disableOnClick?: boolean

If set to true, the button gets disabled when clicked

icon?: string

The icon of the button. if omitted no icon gets printed

label?: string

The label of the button. If omitted no label gets printed.

toggleButton?: boolean

Toggles the state of the button.

type?: auto
vibrationFeedback?: boolean

If set to true, the device vibrates on a button click (only on devices/platforms that supports vibration).

Generated using TypeDoc