Coral 0.2.17 candidate API
    Preparing search index...

    Interface UseAxisConstrainResult<NodeType>

    interface UseAxisConstrainResult<NodeType extends NodeBase = NodeBase> {
        onNodesChange: (changes: NodeChange<NodeType>[]) => void;
    }

    Type Parameters

    • NodeType extends NodeBase = NodeBase
    Index
    onNodesChange: (changes: NodeChange<NodeType>[]) => void

    Wrapped onNodesChange that applies axis constraints when Shift is held