igorescobar/jquery-mask-plugin
Composer 安装命令:
composer require igorescobar/jquery-mask-plugin
包简介
A jQuery Plugin to make masks on form fields and html elements.
README 文档
README
#jQuery Mask Plugin A jQuery Plugin to make masks on form fields and HTML elements.
#Documentation, Demos & Usage Examples https://igorescobar.github.io/jQuery-Mask-Plugin/
##Features
- Lightweight (~2kb minified, ~1kb gziped).
- Built-in support for dynamically added elements.
- Masks on any HTML element (no need to server-side mask anymore!)!
- HTML notation support (data-mask, data-mask-recursive, data-mask-clearifnotmatch).
- String/Numeric/Alpha/Mixed masks.
- Reverse mask support for masks on numeric fields.
- Sanitization.
- Optional digits.
- Recursive Digits.
- Fallback Digits.
- Advanced mask initialization.
- Advanced Callbacks.
- On-the-fly mask change.
- Mask removal.
- Full customization.
- Compatibility with UMD/Zepto.js/Angular.JS.
- HTML5 placeholder support.
- Clear the field if it not matches support.
##Tutorials
English
Portuguese
Russian
Compatibility
jQuery Mask Plugin has been tested with jQuery 1.7+ on all major browsers:
- Firefox 2+ (Win, Mac, Linux);
- IE7+ (Win);
- Chrome 6+ (Win, Mac, Linux, Android, iPhone);
- Safari 3.2+ (Win, Mac, iPhone);
- Opera 8+ (Win, Mac, Linux, Android, iPhone).
Problems & Bugs?
Did you read our docs? Yes? Cool! So now... make sure that you have a functional jsfiddle exemplifying your problem and open an issue for us. Don't know how to do it? Use this fiddle example.
Contributing
- Bug Reporting: Yes! You can contribute opening issues!
- Documenting: Do you think that something in our docs should be better? Do you have a cool idea to increase the awesomeness? Summit your pull request with your idea!
- Bug Fixing: No time to lose? Fix it and help others! Write some tests to make sure that everything are working propertly.
- Improving: Open an issue and lets discuss it. Just to make sure that you're on the right track.
- Sharing: Yes! Have we saved some of your time? Are you enjoying our mask plugin? Sharing is caring! Tweet it! Facebook it! Linkedin It(?!) :D
- Donating: Hey, now that you don't need to worry about masks again... buy me a coffee, beer or a PlayStation 4 (Xbox One also accepted!) :o)
Unit Tests
We use QUnit and GruntJS. To run our test suit is just run: grunt test in your console or you can open those test-for*.html files inside of our test/ folder.
In case you're familiar with Docker here is how you can use it:
docker build -t jquery-mask . CONTAINER_ID=$(docker run -d -v $PWD:/app/jquery-mask-plugin jquery-mask) docker exec $CONTAINER_ID sh -c "npm install" docker exec -it $CONTAINER_ID /bin/bash grunt test
Contributors
Help us!
Donators (Thanks!)
- Rinaldo Morato
- Marcelo Otowicz
- Marcia Cristina Cava
- Igor Lima
- Steve Binder
- Douglas Patrocinio
- Paulo Diogo Rodrigues Leão
- Dorijan Covran
- Amaro Mariño Malvido
- Mark Guadagna
- Serdar Selim Tulunoğlu
- Software Download
- Full list
igorescobar/jquery-mask-plugin 适用场景与选型建议
igorescobar/jquery-mask-plugin 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 273.91k 次下载、GitHub Stars 达 10, 最近一次更新时间为 2016 年 04 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「jquery」 「plugin」 「mask」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 igorescobar/jquery-mask-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 igorescobar/jquery-mask-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 igorescobar/jquery-mask-plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Never configure mask permissions for editors manually ever again!
ke_search Indexer for all Mask-Elements
Yii2 LightBox image galary widget uses Lightbox v2.10.0 by Lokesh Dhakar
Small class for checking ip addresses
This is a laravel 4 package for the server and client side of datatables at http://datatables.net/
统计信息
- 总下载量: 273.91k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 18
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-27