shadycss icon indicating copy to clipboard operation
shadycss copied to clipboard

Add api to disconnect/reconnect style encapsulation document observer

Open sorvell opened this issue 10 years ago • 0 comments

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.

sorvell avatar Nov 28 '16 22:11 sorvell