Skip to content

Commit ce575e4

Browse files
save file
1 parent d9f7815 commit ce575e4

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

html-components/ex/web-console-demo.html

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,15 @@
33
<script src='https://libs.ext-code.com/js/dom/component/component.js'></script>
44
<script src='https://libs.ext-code.com/js/dom/init-hdr/init-hdr.js'></script>
55

6-
<web-console component></web-console>
6+
<web-console component id=console-1></web-console>
77

88
<script>
99

10-
async function init(){
10+
function start(){
1111

12-
webconsole = mod['web-console'];
12+
mod['console-1'].log({hello:'world'});
1313

14-
await mod.auto();
15-
16-
webconsole.log('hello');
17-
18-
}//init
14+
}//start
1915

2016
</script>
2117

0 commit comments

Comments
 (0)