Coder Social home page Coder Social logo

marciocamargo / jquery.mlkeyboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mbut/jquery.mlkeyboard

0.0 2.0 0.0 69 KB

Multi-language jQuery virtual keyboard

Home Page: http://mbut.github.io/jquery.mlkeyboard/

JavaScript 82.88% CSS 5.65% HTML 11.47%

jquery.mlkeyboard's Introduction

jQuery MLKeyboard

ML Keyboard is a jQuery virtual keyboard with features to change input layouts on the flight.

Usage

  • Download jquery.ml-keyboard.min.js and jquery.ml-keyboard.css files and add to your project.
  • Activate the plugin on the input fields with prefered layot $('input').mlKeyboard({layout: 'es_ES'});.
  • It's ready.

Options

The following options are available to pass into ML Keyboard on initialization.

  • (string) layout: set layout which is applicable to all input fields. By default it has value 'en_US' what is equal to American English layout.

  • (boolean) active_shift: when user first time focus on input field virtual keyboards shift is active. Default value - true.

  • (boolean) active_caps: initial virtual keyboards caps lock state. Default value - false.

  • (boolean) is_hidden: to create keyboard always visible this value should be changed to false. Default value - true.

  • (integer) open_speed: is speed at what keyboard shows. Default value - 300.

  • (integer) close_speed: is speed at what keyboard hides back. Devault value - 100.

  • (boolean) enabled: - change it to false if you want temporary disable keyboard. This param is useful when defines as input data attribute (read below how to set up single inputs with data attributes).

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.

Currently possible layouts
  • en_US - English
  • es_ES - Spanish
  • it_IT - Italian
  • pt_PT - Portuguese
  • ru_RU - Russian

jquery.mlkeyboard's People

Contributors

hevelius avatar mbut avatar

Watchers

James Cloos avatar Márcio Camargo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.