svelte-cleavejs
v1.0.3
Published
Cleave.js action for Svelte
Downloads
874
Readme
svelte-cleavejs
Svelte action for Cleave.js
Installation
Install with npm or yarn:
npm install --save svelte-cleavejs
Usage
<script>
import { cleave } from 'svelte-cleavejs'
</script>
<input use:cleave={options} />
The accepted options
are the same as the ones documented in cleave.js JavaScript API Options.
Licence
svelte-cleavejs is licensed under the Apache License Version 2.0