turbodombuilder - v0.9.66
    Preparing search index...

    Type Alias EnforcerCallbackProperties

    Type representing objects passed as context for resolving enforcers. Given as first parameter to solvers when executing them via solveEnforcer.

    type EnforcerCallbackProperties = {
        enforcer?: string;
        enforcerHost?: object;
        target?: object;
        event?: Event;
        eventType?: string;
        eventTarget?: Node;
        toolName?: string;
        eventOptions?: ListenerOptions;
        manager?: TurboEventManager;
    }
    Index

    Properties

    enforcer?: string

    The targeted enforcer. Defaults to currentEnforcer.

    enforcerHost?: object

    The object to which the target enforcer is attached.

    target?: object

    The current object being processed by the solver. Property set by solveEnforcer when processing every object in the enforcer's list.

    event?: Event

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

    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.