Customizable Virtual Keyboard With jQuery Bootstrap - Download Customizable Virtual Keyboard With jQuery And Bootstrap

Download Customizable Virtual Keyboard With jQuery And Bootstrap

Posted on

This time I will share jQuery Plugin and tutorial about Customizable Virtual Keyboard With jQuery And Bootstrap, hope it will help you in programming stack.

Customizable Virtual Keyboard With jQuery Bootstrap - Download Customizable Virtual Keyboard With jQuery And Bootstrap
File Size: 15 KB
Views Total: 13566
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

A jQuery / Bootstrap jQuery plugin used for creating a customizable, animated virtual keyboard that comes with 3 themes and 5 languages. Not only text fields, you can trigger the virtual keyboard via any elements like buttons.

How to use it:

1. The plugin requires jQuery library and Bootstrap framework loaded correctly in the webpage.

1 <link rel="stylesheet" href="/path/to/bootstrap.min.css">
2 <script src="/path/to/jquery.min.js"></script>
3 <script src="/path/to/bootstrap.min.js"></script>

2. Download and load the jQuery virtual_keyboard.js plugin’s files in the webpage.

1 <link href="jquery.virtual_keyboard.css" rel="stylesheet">
2 <script src="jquery.virtual_keyboard.js"></script>

3. Call the plugin on the text fields where you want to append the virtual keyboard to.

1 $('textarea,input').keyboard();

4. Customize the virtual keyboard with the following options. These default options can be passed as an object during init.

01 $('textarea,input').keyboard({
02  
03   // Keyboard Type
04   type: 'gatekeeper'
05  
06   // default, monokai, orange
07   theme: 'default'
08  
09   // ru_RU, es_ES, pt_PT, it_IT
10   language: 'en_US',
11  
12   // active Shift key
13   active_shift: false,
14  
15   // action Capslock key
16   active_caps: false,
17  
18   // hide the keyboard on page load
19   is_hidden: true,
20  
21   // animation speed in ms
22   open_speed: 300,
23   close_speed: 300,
24  
25   // show on focus
26   show_on_focus_in: true,
27  
28   // auto hide when the text field has lost focus.
29   hide_on_focus_out: true,
30  
31   // Id selector to trigger the keyboard
32   trigger: undefined, 
33  
34   // enable the plugin
35   enabled: true
36    
37 })

This awesome jQuery plugin is developed by eamigo86. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net