Dev: Use shadow dom to encapsulate css

This commit is contained in:
redhoodsu
2018-06-02 16:09:43 +08:00
parent fcab23d339
commit 6f7473281d
8 changed files with 61 additions and 13 deletions

View File

@@ -85,7 +85,8 @@ document.body.appendChild(el);
eruda.init({
container: el,
tool: ['console', 'elements']
tool: ['console', 'elements'],
useShadowDom: true
});
```