@tadashi/mask
v4.2.0
Published
The simple and tiny script for input mask
Downloads
170
Readme
Mask
The simple and tiny script for input mask.
Install
$ npm i @tadashi/mask
Usage
See more examples here: https://codepen.io/lagden/pen/XzLYJE?editors=1010
<input id="telefone" type="text" data-mask="(99) 9-9999-9999">
<script type="module">
import Mask from 'https://unpkg.com/@tadashi/mask@{version}/src/mask.js'
const maskTelefone = new Mask(telefone)
</script>
Team
Donate ❤️
- BTC: bc1q7famhuj5f25n6qvlm3sssnymk2qpxrfwpyq7g4
License
MIT © Thiago Lagden