Version
The Version component displays short content on a colored background. The Version component is closely related to the Tag component, but only provides one attribute for configuration. It is optimized for specifying versions of a page, for example.
Construction
Code
<div>
<kol-version _label="1.44.0"></kol-version>
</div>
Example
Usage
The attribute _label is available for configuration and accepts any text preceded by a v in the component.
The version is output as an inline element by default.
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
_label (required) | _label | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | string | undefined |