Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Auto style scoping and class scoping #25

Merged
merged 12 commits into from
Nov 9, 2016

Conversation

sorvell
Copy link
Contributor

@sorvell sorvell commented Nov 9, 2016

Helps address #3 by implementing a MutationObserver to scope dynamic dom changes based on elements being added/removed from the document.

An api is also provided (setElementClass(element, classString)) that can be used to implement dynamic scoping for class/className. This will be used by ShadyDOM to transparently scope elements based on changes to class.

@dfreedm dfreedm merged commit 327b79e into master Nov 9, 2016
@dfreedm dfreedm deleted the auto-style-scoping-and-class-scoping branch November 9, 2016 19:08
@sorvell sorvell mentioned this pull request Nov 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants