ecspresso
    Preparing search index...

    Interface InputPluginOptions<A, G>

    Common configuration options shared by most plugins. Plugin-specific options interfaces extend this with additional fields.

    interface InputPluginOptions<
        A extends string = string,
        G extends string = "input",
    > {
        actions?: ActionMap<A>;
        phase?: SystemPhase;
        priority?: number;
        systemGroup?: G;
        target?: EventTarget;
    }

    Type Parameters

    • A extends string = string
    • G extends string = "input"

    Hierarchy (View Summary)

    Index

    Properties

    actions?: ActionMap<A>

    Initial action mappings

    phase?: SystemPhase

    Execution phase for the plugin's primary system

    priority?: number

    Priority for the plugin's primary system (default varies per plugin)

    systemGroup?: G

    System group name for all systems registered by this plugin

    target?: EventTarget

    EventTarget to attach listeners to (default: globalThis). Pass a custom target for testability.