-
Notifications
You must be signed in to change notification settings - Fork 44
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
DOM changes tracking with MutationObserver #39
Conversation
Thanks a lot for your support ! I couldn‘t check on this in detail previous to Friday. |
I'm mainly thinking about whether it might be better to provide an API to trigger a reinit of the functionality and offering the MutationObserver sample code, so that every site owner could implement this MutationObserver only if needed in their application and those who don't wouldn't have this Observer running at all. What's your opinion on this? |
@OgNellis I've released a beta version of this polyfill: loading-attribute-polyfill@latest that provides the prepareElements as a public method to be called from outside, like within a MutationObserver. Do you still have the chance to recheck this aspect? |
@mfranzke
I've added DOM changes tracking with MutationObserver, which would recall 'prepareElements' method