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. |
| items required ¶ | StatusToggleItem[] | List of status items. | |
| value ¶ | string | number | undefined | Value of currently selected status item. |
Output Properties¶
Types Documentation¶
An item for si-status-toggle. Icon shown when the item is active. activeIcon ? : Class applied to the icon when the item is selected. activeIconClass ? : Stacked icon shown when the item is active. activeIconStacked ? : Class applied to the stacked icon when the item is selected. Class applied to the text when the item is selected. activeTextClass ? : Whether the item is disabled. Icon displayed for the item. Text displayed for the item. Value of the item.import type { StatusToggleItem } from '@siemens/element-ng/status-toggle';
string ¶ string ¶ string ¶ string ¶
Represents a translatable string. This can either be a translation key, e.g. import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';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.