Skip to content

solunio/ng-virtual-keyboard

 
 

Repository files navigation

ng-virtual-keyboard

MIT licensed npm version Build Status codecov Dependency Status devDependency Status

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

The MIT License (MIT)

Copyright (c) 2017 Protacon

Packages

No packages published

Languages

  • TypeScript 64.3%
  • HTML 26.5%
  • JavaScript 8.0%
  • CSS 1.2%