npm.io
1.0.3 • Published 4 years ago

svelte-cleavejs

Licence
Version
1.0.3
Deps
1
Size
116 kB
Vulns
0
Weekly
0
Stars
6

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

Keywords