Onscreen Keyboard for Angular 9.1+
npm install @rednez/angular-onscreen-keyboardRun ng build angular-onscreen-keyboard to build the project. The build artifacts will be stored in the dist/ directory.
npm install @rednez/angular-onscreen-keyboard
Import library's module into your app module:
``typescript`
import { AngularOnscreenKeyboardModule } from '@rednez/angular-onscreen-keyboard';
In app template:
`html``
[(ngModel)]="keyboardValue"
(enter)="onKeyboardEnter()"
(backspace)="onKeyboardBackspace()"
(ngModelChange)="onKeyboardModelChange($event)"
>
For handle a letter or symbol use (ngModelChange) or [(ngModel)].enter
For handle (return) and backspace keys use (enter) and (backspace)` output props.