dom-hotkey
v2.0.0
Published
dom-hotkey is hotkey library that works with the html attribute definition.
Downloads
9
Readme
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>