Member Junction
    Preparing search index...

    Event emitted after a node is reparented within the hierarchy.

    interface ReparentEvent<T = Record<string, unknown>> {
        NewParentID: string | null;
        NewParentNode?: HierarchyNodeData<T> | null;
        Node: HierarchyNodeData<T>;
        OldParentID: string | null;
    }

    Type Parameters

    • T = Record<string, unknown>
    Index

    Properties

    NewParentID: string | null

    The new parent node's ID, or null if moved to root.

    NewParentNode?: HierarchyNodeData<T> | null

    The new parent node instance, or null if moved to root.

    The node being moved / reparented.

    OldParentID: string | null

    The previous parent node's ID, or null if the node was a root.