$('input#example-1').mlKeyboard({
layout: 'en_US'
});
$('input#example-2').mlKeyboard({
layout: 'ru_RU'
});
$('input#example-3').mlKeyboard({
layout: 'es_ES'
});
jquery.ml-keyboard.min.js
and jquery.ml-keyboard.css
files and add to your project.$('input').mlKeyboard({layout: 'es'});
.The following options are available to pass into ML Keyboard on initialization.
To change behaviour of single input field special data attribute should be added to it's tag name data-mlkeyboard-<option>="value"
where option
is the same attribute like it's described before.
By default plugin goes with all layouts included, but it's possible to customize plugin and left only some layouts as also new layouts can be easy added.
See document in docs folder.