Documentation - v20.0.0-dev
    Preparing search index...

    Registers the viewer's KeyboardShortcuts, listens to keyboard events on the window and executes the matching shortcut, including continuous-hold repetition.

    Index

    Constructors

    Properties

    signals: { onShortcutsChanged: Signal<() => void> } = ...

    Accessors

    • get shortcuts(): MapIterator<KeyboardShortcut>

      Returns MapIterator<KeyboardShortcut>

    Methods

    • Parameters

      Returns void

    • Listens to the page's keys: the viewport is mounted.

      Returns void

    • Stops listening to the page's keys, the keys held forgotten.

      Returns void

    • Returns void

    • Parameters

      Returns void

    • Parameters

      Returns boolean