nape-js API
    Preparing search index...

    Class PreFlag

    Return value for PreListener handlers — controls whether the interaction is resolved this step and in future steps.

    • ACCEPT — resolve the interaction (default if handler returns null)
    • IGNORE — suppress the interaction permanently until the next BEGIN
    • ACCEPT_ONCE — accept this step only, then revert to the previous flag
    • IGNORE_ONCE — ignore this step only, then revert to the previous flag

    Use IGNORE/ACCEPT for stateful decisions (e.g., one-way platforms). Use *_ONCE variants for single-step overrides.

    Converted from nape-compiled.js lines 2504–2591.

    Index

    Constructors

    Accessors

    Methods