Skip to main content
Version: 1.x

Interface: IFolderTreeNodeProps

molecule.model.IFolderTreeNodeProps

Hierarchy

Implemented by

Properties

children

Optional children: IFolderTreeNodeProps[]

The children of this tree node

Overrides

ITreeNodeItemProps.children

Defined in

model/workbench/explorer/folderTree.tsx:51


content

Optional content: string

Defined in

model/workbench/explorer/folderTree.tsx:49


data

Optional data: any

Store the custom data

Inherited from

ITreeNodeItemProps.data

Defined in

components/tree/index.tsx:55


disabled

Optional disabled: boolean

The status of disabled

Inherited from

ITreeNodeItemProps.disabled

Defined in

components/tree/index.tsx:39


fileType

Optional fileType: "File" | "Folder" | "RootFolder"

Defined in

model/workbench/explorer/folderTree.tsx:50


icon

Optional icon: string | Element

The icon of this tree node, which is rendered in front of the name

Inherited from

ITreeNodeItemProps.icon

Defined in

components/tree/index.tsx:35


id

id: UniqueId

The unique id in tree node

aware Please be aware of that id should be global unique

Inherited from

ITreeNodeItemProps.id

Defined in

components/tree/index.tsx:27


isEditable

Optional isEditable: boolean

The status of editable, mark whether the node is being edited

Inherited from

ITreeNodeItemProps.isEditable

Defined in

components/tree/index.tsx:47


isLeaf

Optional isLeaf: boolean

The type of this tree node.

Inherited from

ITreeNodeItemProps.isLeaf

Defined in

components/tree/index.tsx:43


location

Optional location: string

Defined in

model/workbench/explorer/folderTree.tsx:48


name

Optional name: string

The name of this tree node

Inherited from

ITreeNodeItemProps.name

Defined in

components/tree/index.tsx:31