-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Decide on proper API Shape #2
Comments
Furthermore, to be in line with For reference: const observer = new MutationObserver(callback);
observer.observe(target, options); |
Can you please emit the updated |
The element is the one that you are observing. |
I am observing multiple elements, and I want to know which one's style has changed so I can modify that element accordingly. |
I see. Seems like a good addition to go add to the Edit: I have split this off into its own issue, as this issue here is more about how to instantiate and attach the |
Now:
But maybe it’s better that this became the following? Then you can have one observer watch multiple elements.
If being able to observer multiple elements is the only goal, though, maybe the following is also OK?
The text was updated successfully, but these errors were encountered: