You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An AngularJs Virtual Keyboard Interface based on [GreyWyvern VKI](http://www.greywyvern.com/code/javascript/keyboard). See example in the [Demo page](http://the-darc.github.io/angular-virtual-keyboard).
_Obs.: Required to auto-hide the keyboard interface in mobile devices or to use the 'vk-force-mobile' configuration._
18
28
19
29
## Usage
@@ -36,12 +46,13 @@ _Obs.: Required to auto-hide the keyboard interface in mobile devices or to use
36
46
37
47
The angular-virtual-keyboard module use an [Angular.js Constant](https://docs.angularjs.org/api/auto/service/$provide#constant) named ``VKI_CONFIG`` to handle the configurations that will be applied to all instances of the ``ng-virtual-keyboard`` directive. See list below:
38
48
39
-
-__Keyboard layouts configurations__``VKI_CONFIG.layout`` Array of Keyboard Layout configurations. See [vki-layouts.js](https://github.com/the-darc/angular-virtual-keyboard/blob/master/src/vki-layouts.js) for keyboard layout configuration examples.
40
-
-__Deadkeys configurations__``VKI_CONFIG.deadkey`` Array of Deadkeys configurations. See [vki-deadkeys.js](https://github.com/the-darc/angular-virtual-keyboard/blob/master/src/vki-deadkeys.js) for deadkeys configuration examples.
49
+
-__Keyboard layouts configurations__``VKI_CONFIG.layout`` Array of Keyboard Layout configurations. See [vki-layouts.js](https://github.com/the-darc/angular-virtual-keyboard/blob/master/src/vki-layouts.js) for keyboard layout configuration examples.
50
+
-__Deadkeys configurations__``VKI_CONFIG.deadkey`` Array of Deadkeys configurations. See [vki-deadkeys.js](https://github.com/the-darc/angular-virtual-keyboard/blob/master/src/vki-deadkeys.js) for deadkeys configuration examples.
41
51
-__Default keyboard layout__``VKI_CONFIG.kt`` Name of the layout configuration to be used as default (if no specific layout configuration is provided in the directive instance configuration). _Default: 'US International'_
42
52
-__Relative position__``VKI_CONFIG.relative`` Use ``true`` to position the keyboard next to the input, ``false`` to place in the bottom of page. _Default: ``true``_
43
53
-__Adjust keyboard size__``VKI_CONFIG.sizeAdj`` Allow user to adjust keyboard size. _Default: ``true``_
44
-
-__i18n configuration__``VKI_CONFIG.i18n`` An array to replace the default labels of the keyboard interface. See example below:
54
+
-__i18n configuration__``VKI_CONFIG.i18n`` An array to replace the default labels of the keyboard interface. See example below:
55
+
-__Custom CSS Class__``VKI_CONFIG.customClass`` A CSS class name to add in the first html element of the keyboard
45
56
```javascript
46
57
VKI_CONFIG.i18n= {
47
58
'00':"Exibir teclado numérico",
@@ -74,6 +85,7 @@ The ``ng-virtual-keyboard`` could receive an array with the configurations that
74
85
-__Relative position__``relative`` Use ``true`` to position the keyboard next to the input, and ``false`` to place in the bottom of page. _Default: ``true``_
75
86
-__Keyboard size control__``size`` Five sizes based on font-size have been pre-programmed: 13px, 16px (default), 20px, 24px and 28px; corresponding to the sizes 1 to 5 respectively. _Default: 3_
76
87
-__Adjust keyboard size__``sizeAdj`` Allow user to adjust keyboard size. _Default: ``true``_
88
+
-__Custom CSS Class__``customClass`` A CSS class name to add in the first html element of the keyboard
0 commit comments