JeremyLikness / BlazorDebounce

Example of an easy way to debounce input without timers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blazor Debounce

Example of using a simpler way to handle "debouncing" input in a Blazor WebAssembly app.

CompletionTemplate provides a basic template for the input.

AutoComplete simply makes API calls on every keypress.

TimerComplete uses a timer to debounce by not fetching until 300ms of inactivity is detected.

DebounceComplete uses a simple queue flag to fetch until no longer required.

About

Example of an easy way to debounce input without timers.

License:MIT License


Languages

Language:HTML 45.2%Language:C# 41.6%Language:CSS 13.2%