@todojs/

01-light-dom

HTML, CSS, JS

No description

fork
loading
Files
  • index.html

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.4458078528550464","path":"index.html","file":{"path":"index.html","content":{"asEncoding":{"base64":"PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ+CiAgPG1ldGEgY2hhcnNldD0iVVRGLTgiPgogIDx0aXRsZT5MaWdodCBET008L3RpdGxlPgo8L2hlYWQ+Cjxib2R5Pgo8c2NyaXB0PgogIGN1c3RvbUVsZW1lbnRzLmRlZmluZSAoJ3NpdGUtbmFtZScsIGNsYXNzIGV4dGVuZHMgSFRNTEVsZW1lbnQgewogIH0pOwo8L3NjcmlwdD4KPHNpdGUtbmFtZT48Yj53d3cudG9kb2pzLmNvbTwvYj48L3NpdGUtbmFtZT4KPC9ib2R5Pgo8L2h0bWw+"},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Light DOM</title>
</head>
<body>
<script>
  customElements.define ('site-name', class extends HTMLElement {
  });
</script>
<site-name><b>www.todojs.com</b></site-name>
</body>
</html>
result
console