Auto-tabulation for your inputs. Tiny helper that focus on the next field when a field reach maxLength.
npm install @jolicode/tabtoAuto-tabulation / focus for your HTML Form inputs.
Tiny helper that focus user on the next field when a field reach maxLength, like pressing Tab but without stealing the user ability to navigate, copy, paste, Shift+Tab...
``html`
`javascript
import tabto from '@jolicode/tabto';
tabto(document.getElementById('one'));
`
You can checkout a working demo here.
``
$ yarn add @jolicode/tabto
$ npm i @jolicode/tabto
We ship multiple versions:
- CommonJS in dist/index.js;dist/browser.js
- UMD (Universal Module Definition) in ; dist/index.es.js
- and ESM (ECMAScript) in .
1. $ yarn run build
In our case, we use StandardJS rules.
1. $ yarn run lint
PS: The lint script will fix all autofixable problems.
1. $ yarn run test
1. $ yarn run release`