@sans/ng-virtual-keyboard
v0.1.2
Published
Virtual Keyboard for Angular applications
Downloads
3
Readme
ng-virtual-keyboard
What is this?
Virtual Keyboard for Angular applications
Install
Step 1: Install @protacon/ng-virtual-keyboard
$ npm install --save @protacon/ng-virtual-keyboard
Step 2: Import the module
Add NgVirtualKeyboardModule
as an import in your app's root NgModule.
import { NgVirtualKeyboardModule } from '@protacon/ng-virtual-keyboard';
@NgModule({
...
imports: [
...
NgVirtualKeyboardModule,
],
...
})
export class AppModule { }
Usage
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 |
Demo
https://protacon.github.io/ng-virtual-keyboard/
License
Copyright (c) 2017 Protacon