Interface NodeTypeDefinition

Contains the node's type information, i.e. tree.types[node.type] if defined.

See

Wunderbaum.types and WunderbaumNode.getOption() to evaluate node.NAME setting and tree.types[node.type].NAME.

interface NodeTypeDefinition {
    checkbox?: CheckboxOption;
    classes?: string;
    colspan?: boolean;
    icon?: IconOption;
    iconTooltip?: string | boolean;
    [key: string]: unknown;
}

Indexable

[key: string]: unknown

Properties

checkbox?: CheckboxOption

En/disable checkbox for matching nodes.

classes?: string

Optional class names that are added to all div.wb-row elements of matching nodes.

colspan?: boolean

Only show title and hide other columns if any.

icon?: IconOption

Default icon for matching nodes.

iconTooltip?: string | boolean

Default icon for matching nodes.