@serenity-is/corelib / CheckTreeItem
Interface: CheckTreeItem<TSource>
Defined in: src/ui/editors/checktreeeditor.tsx:23
A single item in a check tree editor.
Type Parameters
TSource
TSource
The source item type.
Properties
children?
optionalchildren:CheckTreeItem<TSource>[]
Defined in: src/ui/editors/checktreeeditor.tsx:37
Child items.
hideCheckBox?
optionalhideCheckBox:boolean
Defined in: src/ui/editors/checktreeeditor.tsx:27
Whether to hide the checkbox for this item.
id?
optionalid:string
Defined in: src/ui/editors/checktreeeditor.tsx:31
Unique identifier of the tree item, used as the node key and selection value.
isAllDescendantsSelected?
optionalisAllDescendantsSelected:boolean
Defined in: src/ui/editors/checktreeeditor.tsx:29
Whether all descendants are selected.
isSelected?
optionalisSelected:boolean
Defined in: src/ui/editors/checktreeeditor.tsx:25
Whether the item is selected.
parentId?
optionalparentId:string
Defined in: src/ui/editors/checktreeeditor.tsx:35
Parent item id.
source?
optionalsource:TSource
Defined in: src/ui/editors/checktreeeditor.tsx:39
The source item.
text?
optionaltext:string
Defined in: src/ui/editors/checktreeeditor.tsx:33
Display text.