Cleave.js-Input Mask
OverviewOfficial Website
Cleave.js javaScript library for formatting input text content when you are typing.
Javascript
<!-- cleave.js -->
<script src="{{url_for('static' ,filename='libs/cleave.js/dist/cleave.min.js')}}"></script>
Initjs (Custom js)
<!-- form masks init -->
<script src="{{url_for('static' ,filename='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 |
|