Svelte-Debounce
Easy debouncing with Svelte action.
Getting Started
- Install this package in your project using:
// pnpm, npm, or yarn
pnpm install svelte-debounce
- Prepare config.
const config = {
delay: 800, // Default = 750
callback: (value) => { ... }
}
- Use it!
🎉
<input use:debounce={config}/>