变量树节点类型

interface IVariableTreeNode {
    children?: IVariableTreeNode[];
    disabled?: boolean;
    help?: string;
    key: string;
    raw?: any;
    selectable?: boolean;
    showAddButton?: boolean;
    showRemoveButton?: boolean;
    showViewButton?: boolean;
    title?: string;
    type?: "function" | "property";
}

Properties

children?: IVariableTreeNode[]

子结点

disabled?: boolean

是否禁用

help?: string

辅助提示信息

key: string

唯一标识符

raw?: any

定义的原始值

selectable?: boolean

是否可选中

showAddButton?: boolean

展示添加按钮

showRemoveButton?: boolean

展示删除按钮

showViewButton?: boolean

展示查看按钮

title?: string

标题

type?: "function" | "property"

结点类型,用来展示图标