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
***auto-close:** auto-close others VKIs when a new one is focused (issue #10) ([8bf63d74](https://github.com/the-darc/angular-virtual-keyboard/commit/8bf63d74))
9
+
***focus:** keep input focus when keyboard buttons (like shift, alt, caps, and others..) are ([f3b4f3c0](https://github.com/the-darc/angular-virtual-keyboard/commit/f3b4f3c0))
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,11 +36,12 @@ _Obs.: Required to auto-hide the keyboard interface in mobile devices or to use
36
36
37
37
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
38
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.
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
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.
41
41
-__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
-
-__Relative position__``VKI_CONFIG.relative``: ``true`` to position the keyboard next to the input, ``false`` to place in the bottom of page. _Default: ``true``_
43
-
-__i18n configuration__``VKI_CONFIG.i18n``: An array to replace the default labels of the keyboard interface. See example below:
42
+
-__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
+
-__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:
44
45
```javascript
45
46
VKI_CONFIG.i18n= {
46
47
'00':"Exibir teclado numérico",
@@ -67,11 +68,12 @@ The ``ng-virtual-keyboard`` could receive an array with the configurations that
67
68
-__Number pad__``numberPad`` To enable de number pad button. _Default: false_
68
69
-__VKI Version__``showVersion`` To show the VKI-core based version. _Default: false_
69
70
-__Imageless mode__``imageURI`` By default the keyboard will be show on input field focus. Pass a image URI to add a clickable image next to inputs and replace the on focus default behavior. _Default: false_
70
-
-__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_
71
71
-__Show in mobile__``showInMobile`` True to display the interface on mobiles devices. _Default: false_
72
72
-__Foce position__``forcePosition`` Force to position the virtual keyborad above (_use ``"top"``_) or below (_use ``"bottom"``_) the input field. Use ``false`` to let the directive choose the better position. _Default: false_
73
73
-__Enter callback__``enterSubmit`` Define a callback function for the enter key. Use ~~true to submit forms when Enter is pressed or~~ a function to execute a custom function. _Default: false_ (See _[enterSubmit issues #5](https://github.com/the-darc/angular-virtual-keyboard/issues/5)_)
74
-
-__Relative position__``relative``: ``true`` to position the keyboard next to the input, ``false`` to place in the bottom of page. _Default: ``true``_
74
+
-__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
+
-__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
+
-__Adjust keyboard size__``sizeAdj`` Allow user to adjust keyboard size. _Default: ``true``_
0 commit comments