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

1.0.17 • Public • Published

KeyFocus

Response direction key switch cursor

Bind listener of keyboard for changing focus in the form component

DEMO

get start

npm install --save hotkey-focus
// <script src="node_modules/keyfocus/lib/hotkey-focus.esm.js"></script>
import KeyFocus from 'hotkey-focus';
const ins = document.getElementById('form');
const keyFocus = new KeyFocus(ins.children);

Package Sidebar

Install

npm i hotkey-focus

Weekly Downloads

2

Version

1.0.17

License

MIT

Unpacked Size

12.7 kB

Total Files

9

Last publish

Collaborators

  • tonyer