Virtual Keyboard for Angular applications
$ npm install --save @protacon/ng-virtual-keyboard
Add NgVirtualKeyboardModule
as an import in your app's root NgModule.
import { NgVirtualKeyboardModule } from '@protacon/ng-virtual-keyboard';
@NgModule({
...
imports: [
...
NgVirtualKeyboardModule,
],
...
})
export class AppModule { }
Simple usage example
<input type="text" value=""
ng-virtual-keyboard
ng-virtual-keyboard-layout="alphanumeric"
ng-virtual-keyboard-placeholder="Custom placeholder text"
/>
Attribute | Description |
---|---|
ng-virtual-keyboard |
Required to initialize Virtual Keyboard to specified input |
ng-virtual-keyboard-layout |
Used layout on keyboard, following keyboards are defaults that you can use alphanumeric, alphanumericNordic, extended, extendedNordic, numeric, phone |
ng-virtual-keyboard-placeholder |
Override placeholder text, if input has not any - or you want to override input placeholder value |
https://protacon.github.io/ng-virtual-keyboard/
Copyright (c) 2017 Protacon