setBoxStateRecursive Type documentation¶
TypeScript declaration¶
Types Documentation¶
import type { CheckboxState } from '@siemens/element-ng/tree-view';The check box state of a tree item.
import type { TreeItem } from '@siemens/element-ng/tree-view';Defines the data for a tree item. All properties are optional.
-
Indicates if the item is active, the last clicked item is active always; only one item can be active.
-
Defines the content of the optional badge. Should be a number or something like "100+". If undefined or empty string, no badge is displayed.
-
Defines the background color of the badge. Use the status color names as inputs.
See: https://element.siemens.io/components/status-notifications/badges/
-
The state of the checkbox/optionbox.
-
The child tree items.
-
Any custom data that can be used in custom templates. Not shown by default.
customData?:
T¶ -
The text shown for the tree item data field 1.
-
The text shown for the tree item data field 2.
-
The web font icon class name (e.g. element-building). The icon is shown on the left (in LTR) side of the label.
-
The text shown for the tree item label (header).
-
The hierarchy level of the node. This will be auto-calculated by the tree view control.
-
The parent tree item. This will be automatically set by the tree view control.
-
Indicates if the tree item is selectable or not.
-
If the item is selected (note that the tree view component supports single and multi-selection).
-
If the tree item shall show a checkbox.
-
If the tree item shall show an optionbox.
-
The folder state of the tree item.
-
The color of the state pipe; formatted as CSS value ('red' or '#FF0000' or 'rgb(255, 0, 0)').
-
The name of the template to apply.
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.
import type { TreeItemFolderState } from '@siemens/element-ng/tree-view';The folder state of a tree item.
Except where otherwise noted, content on this site is licensed under MIT License.