@geoblocks/ol-comfy
    Preparing search index...

    Listen keydown/keyup event on document for a specific keyboard key.

    Index

    Constructors

    Methods

    • Register a callback that will be called each time the key is pressed.

      Parameters

      • callback: callback

      Returns void

    • Register a callback that will be called each time the key is released.

      Parameters

      • callback: callback

      Returns void