87
GitHub - uNmAnNeR/imaskjs: vanilla javascript input mask
source link: https://github.com/uNmAnNeR/imaskjs
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
imaskjs
vanilla javascript input mask
Features
- get and set raw and unmasked values easily
- no external dependencies
- supports overwrite mode
- supports web components
- supports contenteditable
- RegExp mask
- Function mask
- Number mask (integer and decimal)
- Date mask (various format support, autofix mode)
- Dynamic/on-the-fly mask
- Pattern mask
- convert and format values with pipe
Plugins
Install
npm install imask
and import IMask from 'imask';
or use CDN:
<script src="https://unpkg.com/imask"></script>
Build & Test
npm run make
Compatibility
Supports all major browsers and IE11+ need to support older?
Docs, Examples, Demo
Many Thanks to
Support Development
Contributors
Code Contributors
This project exists thanks to all the people who contribute. [Contribute].
Financial Contributors
Become a financial contributor and help us sustain our community. [Contribute]
Individuals
Organizations
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK