1
0
mirror of synced 2025-12-10 00:17:58 +08:00

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

@@ -99,7 +99,8 @@ document.body.appendChild(el);
eruda.init({
container: el,
tool: ['console', 'elements']
tool: ['console', 'elements'],
useShadowDom: true // Use shadow dom to prevent page css affecting eruda.
});
```