Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 357 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 357 Bytes

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}/>