MaskOfficial Website
Inputmask is a javascript library that creates an input mask. Inputmask can run against vanilla javascript, jQuery, and jqlite.
Javascript
<!-- Inputmask js -->
<script src="wwwroot/assetslibs/inputmask/dist/min/jquery.inputmask.bundle.min.js"></script>
Initjs (Custom js)
<!-- Inputmask js -->
<script src="wwwroot/assetsjs/pages/form-mask.init.js"></script>
Add Package
yarn add inputmask --save
Remove Package
yarn remove inputmask or you can remove package by removing specific package from package.json
Examples:
Title | HTML |
---|---|
Date Style 1 |
|
Date Style 2 |
|
Date time |
|
Currency |
|
Repeat |
|
Mask |
|
IP address |
|
Email address: |
|