Cleave.js-Input Mask
OverviewOfficial Website
Cleave.js javaScript library for formatting input text content when you are typing.
Javascript
<!-- cleave.js -->
<script src="~/assets/libs/cleave.js/cleave.min.js"></script>
Initjs (Custom js)
<!-- form masks init -->
<script src="~/assets/js/pages/form-masks.init.js"></script>
Add Package
yarn add cleave.js --save
Remove Package
yarn remove cleave.js or you can remove package by removing specific package from package.json
Date Formatting
Title | Javascript |
---|---|
Date |
|
Date Formatting |
|
Time Formatting
Title | Javascript |
---|---|
Time |
|
Time Formatting |
|
Custom Option
Title | Javascript |
---|---|
Credit Card |
|
Delimiter |
|
Delimiters |
|
Prefix |
|
Phone |
|
Numeral Formatting |
|