0.1.2 • Published 4 years ago

jquery-input-lettering v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

jQuery Input Lettering

The plugin allows to create customized input (each character as a separate input). Default behaviour is the same as the native input

Usage

  1. Include jQuery:

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
  2. Include plugin's code:

    <script src="dist/jquery.inputLettering.min.js"></script>
  3. Call the plugin:

    $("#element").letteringInput({ inputClass: 'letter' });

Structure

The basic structure of the project is given in the following way:

├── demo/
│   ├── index.html
│   └── index_hidden_input.html
├── dist/
│   ├── jquery.inputLettering.js
│   └── jquery.inputLettering.min.js
├── src/
│   └── jquery.inputLettering.js
├── .editorconfig
├── .gitignore
├── .jscsrc
├── .jshintrc
├── Gruntfile.js
└── package.json

demo/

Contains simple demo HTML files.

dist/

This is where the generated files are stored once Grunt runs.

.editorconfig

This file is for unifying the coding style for different editors and IDEs.

Check editorconfig.org if you haven't heard about this project yet.

.jshintrc

List of rules used by JSHint to detect errors and potential problems in JavaScript.

Check jshint.com if you haven't heard about this project yet.

Gruntfile.js

Contains all automated tasks using Grunt.

Check gruntjs.com if you haven't heard about this project yet.

Contributing

Check CONTRIBUTING.md for more information.

License

MIT License © Sergei Kuznetsov