Skip to main content

Label

A label is used to describe a section in a website.

Example

A8Studio

API Methods

setLabel

Sets the label of the field.

setLabel(label: string): void

setSize

Sets the size only by 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