While not supported by default by Angular,
đź’ˇ We can provide a custom EventManagerPlugin to provide debouncing on template listeners.
➡️ Demo: https://stackblitz.com/edit/angular-debounced-listener
đź’ˇ We can provide a custom EventManagerPlugin to provide debouncing on template listeners.
➡️ Demo: https://stackblitz.com/edit/angular-debounced-listener
Comments
Being able to debounce and disable a button when in-flight, or showing a spinner icon with similar API’d be so cool…
Putting this on my R&D list.