Is there a way to chain both window and debounce modifiers on x-on? #490
robmcfadden
started this conversation in
4. General
Replies: 1 comment 1 reply
-
Hi @robmcfadden If you need it, you can debounce the scroll event and capture it on the element then trigger a custom event that you will capture on window. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to do
x-on:scroll.window.debounce
, but I'm finding that I can only do one or the other.Is this possible? Is there a better way?
Beta Was this translation helpful? Give feedback.
All reactions