Label
Primitives[atlasLabel]Examples
Basic
atlasLabel styles a native label ; keep for pointing at the control id.
Required and optional fields
Mark required fields with the native required attribute, which screen readers announce; the asterisk is only visual ( aria-hidden ). When most fields are required, marking the optional ones reads better.
API
Generated from the library source, so it always matches the code.
AtlasLabelDirective [atlasLabel]
| Input | Type | Default | Description |
|---|---|---|---|
| for | string | undefined | undefined | atlas-form-field it defaults to the field's control. |
| class | string | '' | cn() ; yours win on conflicts. |