shadycss
shadycss copied to clipboard
Add api to disconnect/reconnect style encapsulation document observer
The document level mutation observer that looks for nodes added/removed and performs style encapsulation may introduce issues for dom manipulation that needs extremely high performance. Users who need this level of performance may be willing to perform manual style encapsulation. To support this use case, ShadyCSS should add an api to disconnect/reconnect the document level mutation observer so that it can be disabled during high performance dom manipulation.