jquery.meiomask

2018-08-08 admin

jquery.meiomask是什么

什么是jquery.meiomask,A jquery plugin for masking text inputs.

jquery.meiomask介绍、jquery.meiomask使用

Warning: Unmaintained project

If you are interested on maintaining the project feel encouraged to message me so I can give you some instructions and most importantly, admin access.

Build StatusCode 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

<script src=“jquery-1.10.2.js”></script> <script src=“meiomask.min.js”></script> 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.

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-37562.html

文章标题:jquery.meiomask

回到顶部