OctantisWeb.Components.Polaris.Labelled (octantis v0.1.12)
View SourceSkeleton display text is used to provide a low fidelity representation of content before it appears on the page, and improves load times perceived by merchants. Can be used for content in or outside of a card.
Examples
</.labelled>
See
Summary
Functions
Attributes
id
(:string
) - A unique identifier for the label.hidden
(:boolean
) - Visually hide the label. Defaults tofalse
.required_indicator
(:boolean
) - Visual required indicator for the label. Defaults tofalse
.
Slots
inner_block
(required) - Label content.
Skeleton display text is used to provide a low fidelity representation of content before it appears on the page, and improves load times perceived by merchants. Can be used for content in or outside of a card.
Functions
Attributes
id
(:string
) - A unique identifier for the label.hidden
(:boolean
) - Visually hide the label. Defaults tofalse
.required_indicator
(:boolean
) - Visual required indicator for the label. Defaults tofalse
.
Slots
inner_block
(required) - Label content.
Skeleton display text is used to provide a low fidelity representation of content before it appears on the page, and improves load times perceived by merchants. Can be used for content in or outside of a card.
Examples
</.labelled>
See
Attributes
id
(:string
) - A unique identifier for the label.label
(:string
) (required) - Text for the label.error
(:string
) - Error to display beneath the label. Defaults tonil
.action
(:any
) - An action. Defaults tofalse
.help_text
(:string
) - Additional hint text to display. Defaults tonil
.label_hidden
(:boolean
) - Visually hide the label. Defaults tofalse
.required_indicator
(:boolean
) - Visual required indicator for the label. Defaults tofalse
.disabled
(:boolean
) - Labels signify a disabled control. Defaults tofalse
.read_only
(:boolean
) - Labels signify a readOnly control. Defaults tofalse
.- Global attributes are accepted.
Slots
inner_block
(required) - Content to display inside the connected.