Skip to content

Commit fb32ef4

Browse files
save file
1 parent 4ae2f16 commit fb32ef4

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

html-components/html/html-components-hdr/html-components-hdr.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
<html-component-hdr>
3+
<html-components-hdr>
44

55
<template shadowrootmode=open>
66

@@ -41,7 +41,9 @@
4141
home
4242
</a>
4343

44-
<top-menu component=grp></top-menu>
44+
45+
<top-menu component=page parent=html-components-hdr></top-menu>
46+
4547

4648
</div>
4749

@@ -88,11 +90,11 @@
8890

8991
obj.init = async function(){
9092

91-
top = mod['top-menu']
93+
//top = mod['top-menu']
9294

93-
top.initmod({$,menu});
95+
//top.initmod({$,menu});
9496

95-
await top.init();
97+
//await top.init();
9698

9799

98100
}//init
@@ -105,7 +107,7 @@
105107

106108
var shadow = host.shadowRoot;
107109

108-
top.initdom(shadow);
110+
//top.initdom(shadow);
109111

110112

111113
}//initdom
@@ -119,7 +121,7 @@
119121

120122
</script>
121123

122-
</html-component-hdr>
124+
</html-components-hdr>
123125

124126

125127

0 commit comments

Comments
 (0)