How to use it
;
Init keyboard with input element selector and container selector
const kb = ;
Or use HTMLElements
// Need to be HTMLInputElement or HTMLTextAreaElementconst input = document;inputtype = 'text'; // Any valid HTMLElement as containerconst container = document; const kb = ;
And generate layout and subscribe on events
// Then enerate layout to the domkb; // Subscribe to keypress eventskb;kb;
Features:
- Two languages: english and russian
- Switch language button
- Ctrl + Alt to change language using keyboard keys