BaseButton options.

Hierarchy

Properties

audioFeedback?: boolean

Gives the user an audio feedback when the button is clicked

callbackFeedback?: boolean

Gives the user an audio feedback when the clickHandler promise is fullfilled.

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

heading?: string

An optional heading for the button

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.

showProgress?: boolean

Shows Progress rings on the butten when the button is clicked, until the clickHandler promise is fullfilled.

toggleButton?: boolean

Toggles the state of the button.

The type of the button.

vibrationFeedback?: boolean

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

Generated using TypeDoc