Skip to main content

Button

A Button signifies an operation (or a series of operations). Clicking it triggers the corresponding logic.

Example

A8Studio

API Methods

setButtonHeight

Sets the height of the button

setButtonHeight(buttonHeight: string): void

setButtonType

Sets the type of the button

setButtonType(buttonType: string): void

setDisabled

Sets the button state using the boolean value

setDisabled(disabled: boolean): void

setLabel

Sets a label to the Button

setLabel(label: string): void

setSize

Sets the size only using the parameters passed in.

setSize(size: "small" | "medium" | "large"): void

setVisibility

Sets if elements of the given category is visible in this view.

setVisibility(visible: boolean): void

setVisibilityCondition

Sets the hide condition

setVisibilityCondition(condition: string): void