You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trailing If true, call fn again after the time is up.
leading If true, call fn on the leading edge of the ms timeout
The implementation only has an options object, with maxWait as the single parameter. I was actually hoping to use leading, as the current behavior of trailing doesn't feel as responsive.
Loving the library btw, thanks!
Are you willing to create pull request with the fix?
No
The text was updated successfully, but these errors were encountered:
Link to the page where something isn't quite right
https://www.svelteui.org/composables/use-debounce
Exact quote of what is wrong
The implementation only has an
options
object, withmaxWait
as the single parameter. I was actually hoping to useleading
, as the current behavior of trailing doesn't feel as responsive.Loving the library btw, thanks!
Are you willing to create pull request with the fix?
No
The text was updated successfully, but these errors were encountered: