Retree - v1.0.0
    Preparing search index...

    Interface IReactiveDependency<TNode>

    A dependency for ReactiveNode.

    If no IReactiveDependency.comparisons are provided, any change to node will emit an update to the ReactiveNode. Otherwise, a change will emit when any new value in IReactiveDependency.comparisons does not equal the previous checked value. The order and length of IReactiveDependency.comparisons must remain unchanged between updates.

    interface IReactiveDependency<TNode extends TreeNode = TreeNode> {
        comparisons?: any[];
        node: OptionalNode<TNode>;
    }

    Type Parameters

    Index

    Properties

    Properties

    comparisons?: any[]

    Optional. Values to compare between updates to node.

    When undefined, any change to node will emit an update to the ReactiveNode. Otherwise, a change will emit when any new value the list does not equal the previous checked value. The order and length of IReactiveDependency.comparisons must remain unchanged between updates.

    The node to listen to "nodeChanged" events for.