跳到主要内容
版本:0.9.0-beta.2

Interface: IFolderTreeNodeProps

molecule.model.IFolderTreeNodeProps

Hierarchy

Implemented by

Properties

children

Optional children: IFolderTreeNodeProps[]

The children of this tree node

Overrides

ITreeNodeItemProps.children

Defined in

src/model/workbench/explorer/folderTree.tsx:47


content

Optional content: string

Defined in

src/model/workbench/explorer/folderTree.tsx:45


data

Optional data: any

Store the custom data

Inherited from

ITreeNodeItemProps.data

Defined in

src/components/tree/index.tsx:49


disabled

Optional disabled: boolean

The status of disabled

Inherited from

ITreeNodeItemProps.disabled

Defined in

src/components/tree/index.tsx:33


fileType

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

Defined in

src/model/workbench/explorer/folderTree.tsx:46


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

src/components/tree/index.tsx:29


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

src/components/tree/index.tsx:21


isEditable

Optional isEditable: boolean

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

Inherited from

ITreeNodeItemProps.isEditable

Defined in

src/components/tree/index.tsx:41


isLeaf

Optional isLeaf: boolean

The type of this tree node.

Inherited from

ITreeNodeItemProps.isLeaf

Defined in

src/components/tree/index.tsx:37


location

Optional location: string

Defined in

src/model/workbench/explorer/folderTree.tsx:44


name

Optional name: string

The name of this tree node

Inherited from

ITreeNodeItemProps.name

Defined in

src/components/tree/index.tsx:25