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

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes