Skip to content

A virtual keyboard for mobile device which is implemented by angularjs.

Notifications You must be signed in to change notification settings

TylerYang/angular-mobile-keyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular Mobile Keyboard - Angular virtual keyboard directive

Quick Links

  • [Demo] (#demo) -[Installation] (#installation)

Demo

Click here to show u how it works.

Installation

Install with Bower

$ bower install angular-mobile-keyboard

Adding dependency to your project

First you need to add the basic scripts and stylesheets into your project.

<link rel="stylesheet" type="text/css" href="/dist/css/keyboard.css" />
<script type="text/javascript" src="/dist/js/angular-mobile-keyboard.js"></script>

Add ngKeyboard to your app module.

angular.module("yourApp", ["ngKeyboard"]);

Add ng-keyboard tag into your input field. The value is the type of the keyboards.

//This way you will have two different keyboard so that you can click the `switch` button to change your button.
<input type="text" ng-model="name" ng-keyboard="ABC 123" />

//With this way you will have only number keyboard.
<input type="text" ng-model="phone" ng-keyboard="123" />

About

A virtual keyboard for mobile device which is implemented by angularjs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published