gradum-kit - v0.1.0
    Preparing search index...

    Type Alias ConstrainerCallbackProperties

    The context handed to a solver as its first argument, naming the constrainer, the object being processed, and the event that triggered it. Passed when solving through GradumSelector.solveConstrainer.

    type ConstrainerCallbackProperties = {
        constrainer?: string;
        constrainerHost?: object;
        target?: object;
        event?: Event;
        eventType?: string;
        eventTarget?: Node;
        toolName?: string;
        eventOptions?: ListenerOptions;
        manager?: GradumEventManager;
    }
    Index
    constrainer?: string

    The targeted constrainer. Defaults to currentConstrainer.

    constrainerHost?: object

    The object to which the target constrainer is attached.

    target?: object

    The current object being processed by the solver. Property set by GradumSelector.solveConstrainer when processing every object in the constrainer's list.

    event?: Event

    The event (if any) that fired the resolving of the constrainer.

    eventType?: string

    The type of the event.

    eventTarget?: Node

    The target of the event.

    toolName?: string

    The name of the active tool when the event was fired.

    eventOptions?: ListenerOptions

    The options of the event.

    The event manager that captured the event. Defaults to the first instantiated event manager.