Label

Purpose

This component provides a descriptive label for a Client Framework 2 input control.

Each label must be associated with a built-in component in order for the device to know which field should have the focus when the label is selected. If the label is associated with a custom component (e.g. because it is associated with a reusable component that uses a custom component under the covers), then the custom components needs to specify the component to which the label is associated.

Exported Features

cf2:ui.Label

Imported Features

n/a

Markup

This component is provided by the ui:label element.

Fallback

If this component is not supported (i.e. the device cannot associate a label with an element), then it falls back to an inline styled text (e.g. span).

Related topics