@tinyactors/scxmljs
    Preparing search index...

    Interface BindOptions

    Options for bind().

    interface BindOptions {
        events?: readonly string[];
        reflectEnabled?: boolean;
        signal?: AbortSignal;
    }
    Index

    Properties

    events?: readonly string[]

    Extra DOM event types to listen for, beyond the built-in set and those found in data-scxml-on at bind time.

    reflectEnabled?: boolean

    Keep data-scxml-enabled on bound elements whose event some active state has a transition for (conditions are ignored), so CSS can dim controls that would do nothing. Updated after every macrostep.

    signal?: AbortSignal

    Unbind when this signal aborts (the binding also ends when the session terminates).