SiStatusToggleComponent documentation¶
import { SiStatusToggleComponent } from '@siemens/element-ng/status-toggle'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| disabled ¶ | boolean | false | Disabled state for the whole component. |
| itemsrequired ¶ | StatusToggleItem[] | List of status items. | |
| value ¶ | string | number | undefined | Value of currently selected status item. |
Output Properties¶
Types Documentation¶
import type { StatusToggleItem } from '@siemens/element-ng/status-toggle';An item for si-status-toggle.
-
Icon shown when the item is active.
-
Class applied to the icon when the item is selected.
-
Stacked icon shown when the item is active.
-
Class applied to the stacked icon when the item is selected.
-
Class applied to the text when the item is selected.
-
Whether the item is disabled.
-
Icon displayed for the item.
-
Text displayed for the item.
-
Value of the item.
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.
Except where otherwise noted, content on this site is licensed under MIT License.