Documentation
    Preparing search index...

    Interface KeyDefaultSuppressor

    The one thing a SceneKeyEvent needs from the platform event behind it: a way to suppress the host's own reaction to the keystroke.

    Structural and optional, for this package's usual reason — a browser KeyboardEvent, a Playwright-synthesized one, and a plain object in a unit test are all equally acceptable, and naming KeyboardEvent would pull a DOM lib into a package that must build in Node.

    interface KeyDefaultSuppressor {
        preventDefault?(): void;
    }

    Hierarchy (View Summary)

    Index
    • The host's own default-suppression, when the source has one.

      Returns void