svelte-debounce

Svelte Debounce

Easy debouncing with Svelte action.

Svelte-Debounce

Easy debouncing with Svelte action.

Getting Started

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

Top categories

Loading Svelte Themes