Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

66 lines (46 sloc) 1.839 kb

Build Status Code Climate

jQuery MeioMask

jQuery MeioMask - a jquery plugin for masking text inputs.

Maintainer

http://github.com/johnvoloski

CDN

See http://cdnjs.com/libraries/jquery.meiomask.

Install via Bower

  • Latest version: $ bower install jquery-meiomask
  • Install specific version: $ bower install jquery-meiomask#~1.1.14
  • Or put in bower.json:
    "jquery-meiomask": "~1.1.14"
    $ bower install
  • Include script within HTML: <script src="bower_components/jquery-meiomask/dist/meiomask.js" type="text/javascript"></script>
    or
    <script src="bower_components/jquery-meiomask/dist/meiomask.min.js" type="text/javascript"></script>

Install via Rails

See meiomask-rails gem.

Dependencies

The only dependency is jQuery itself.

How to use

Time Mask:

<script>
  $('input[data-mask]').each(function() {
    var input = $(this);
    input.setMask(input.data('mask'));
  });
</script>

Documentation

http://www.meiocodigo.com/projects/meiomask/

Demos

You can see some demos inside the documentation at http://www.meiocodigo.com/projects/meiomask/#mm_demos and can play with them on the tests/visual-tests.html file.

Jump to Line
Something went wrong with that request. Please try again.