An on screen keyboard that's always present. Fully customizable layout and easy to use API. Perfect for applications on touch devices as an alternative to the default on screen keyboard.
Web site: https://github.com/GreenfieldVentures/angular-on-screen-keyboard
License: MIT License
Simple demos: http://rawgit.com/GreenfieldVentures/angular-on-screen-keyboard/master/index.html
bower install angular-on-screen-keyboard
or
npm install angular-on-screen-keyboard
Include the minified js and css files in your markup
Register the module in your angular app
angular.module('myAngularApp', ['onScreenKeyboard']);
Add the html <on-screen-keyboard></on-screen-keyboard>
tag in your markup
rows
- The plugin comes with a predefined keyboard. It can easily be overridden by supplying an arrays of keys on the rows attribute.
colspan
- Specifies how wide, in number of keys, the key will be. Default: 1text
- The text on the key and thereby the value the pressed key will send to the currently selected input fieldupperCase / lowerCase
- As an alternative to the text
property, you can manually specify the characters to use for upper & lower case. For regular letters in the array passed as single characters upper and lower casing is handled automaticallytype
- Specifies the type of key. The value will be set as an additional class name on the key's element, though some reserved names will give the key extra powers such as 'margin', 'erase' and 'shift {type: 'margin'}
in the arrayuppercase-all-words
- By specifying this attribute the keyboard will be set to uppercase before entering the first letter of every new wordFireFox seems to lack proper support for focusin. This polyfill might help https://gist.github.com/nuxodin/9250e56a3ce6c0446efa