trilium
    Preparing search index...

    Data object passed to FancytreeNode() constructor. Note: typically these attributes are accessed by meber methods, e.g. node.isExpanded() and node.setSelected(false).

    interface NodeData {
        active?: boolean;
        children?: NodeData[];
        data?: Object;
        expanded?: boolean;
        extraClasses?: string;
        focus?: boolean;
        folder?: boolean;
        hideCheckbox?: boolean;
        icon?: string | boolean;
        iconTooltip?: string;
        key?: string;
        lazy?: boolean;
        refKey?: string;
        selected?: boolean;
        statusNodeType?: string;
        title: string;
        tooltip?: string;
        type?: string;
        unselectable?: boolean;
        unselectableIgnore?: boolean;
        unselectableStatus?: boolean;
    }
    Index

    Properties

    active?: boolean

    (initialization only, but will not be stored with the node).

    children?: NodeData[]

    optional array of child nodes

    data?: Object

    all properties from will be copied to node.data

    expanded?: boolean
    extraClasses?: string

    class names added to the node markup (separate with space)

    focus?: boolean

    (initialization only, but will not be stored with the node).

    folder?: boolean
    hideCheckbox?: boolean
    icon?: string | boolean
    iconTooltip?: string

    Will be added as title attribute of the node's icon span,thus enabling a tooltip.

    key?: string

    unique key for this node (auto-generated if omitted)

    lazy?: boolean
    refKey?: string

    (reserved)

    selected?: boolean
    statusNodeType?: string

    If set, make this node a status node. Values: 'error', 'loading', 'nodata', 'paging'.

    title: string

    node text (may contain HTML tags)

    tooltip?: string
    type?: string

    Made available as node.type.

    unselectable?: boolean
    unselectableIgnore?: boolean

    Ignore this node when calculating the partsel status of parent nodes in selectMode 3 propagation.

    unselectableStatus?: boolean

    Use this as constant selected value(overriding selectMode 3 propagation).