Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for observers #21

Open
BramVanroy opened this issue Sep 6, 2016 · 0 comments
Open

Adding support for observers #21

BramVanroy opened this issue Sep 6, 2016 · 0 comments

Comments

@BramVanroy
Copy link

BramVanroy commented Sep 6, 2016

I'm not sure if this is possible but as MDN suggests that observers behave very similarly to event listeners, it might be worth the shot. The MutationObserver is such an observer. It's really useful and cool (it observes a DOM element as the name implies), but from a bit of testing I found that it encounters a lot of changes which in turn trigger many callbacks. It would be nice to be able to throttle and even debounce these!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant