TreeNode.id
property · packages/mixins-ui/src/treeView.ts:50
readonly id: stringMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/treeView.ts:49
interface TreeNode {
readonly id: string
readonly label: string
readonly children?: ReadonlyArray<TreeNode> | undefined
readonly disabled?: boolean | undefined
readonly icon?: Html | undefined
readonly openIcon?: Html | undefined
readonly content?: Html | undefined
readonly trailing?: Html | undefined
readonly action?: Html | undefined
}A row of the tree, and the rows it holds.
TreeNode.idproperty · packages/mixins-ui/src/treeView.ts:50
readonly id: stringTreeNode.labelproperty · packages/mixins-ui/src/treeView.ts:51
readonly label: stringTreeNode.childrenproperty · packages/mixins-ui/src/treeView.ts:52
readonly children?: ReadonlyArray<TreeNode> | undefinedTreeNode.disabledproperty · packages/mixins-ui/src/treeView.ts:53
readonly disabled?: boolean | undefinedTreeNode.iconproperty · packages/mixins-ui/src/treeView.ts:55
readonly icon?: Html | undefinedDrawn before the label: a file's kind, a shut folder.
TreeNode.openIconproperty · packages/mixins-ui/src/treeView.ts:57
readonly openIcon?: Html | undefinedDrawn in place of icon while the row is open: an open folder.
TreeNode.contentproperty · packages/mixins-ui/src/treeView.ts:59
readonly content?: Html | undefinedDrawn in place of the label's text: a name and a role, an avatar. label still names the row and is what typing matches.
TreeNode.trailingproperty · packages/mixins-ui/src/treeView.ts:61
readonly trailing?: Html | undefinedDrawn after the label: a badge, a count.
TreeNode.actionproperty · packages/mixins-ui/src/treeView.ts:63
readonly action?: Html | undefinedDrawn at the row's end: a menu button, a delete. Its control stops its own press, or the row is chosen too.