dom-hotkey
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

dom-hotkey

dom-hotkey is hotkey library that works with the html attribute definition.

Examples

<button data-hotkey="Modifier+z" onclick="alert('undo')">Undo</button>
<script type="module">
  const { setup } = require('dom-hotkey');
  setup();
</script>

/dom-hotkey/

    Package Sidebar

    Install

    npm i dom-hotkey

    Weekly Downloads

    0

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    147 kB

    Total Files

    24

    Last publish

    Collaborators

    • ofk