Skip to content

Commit 28de932

Browse files
save file
1 parent fd73455 commit 28de932

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

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

22

3-
<html-components-hdr>
3+
<html-components-hdr v2.0>
44

55
<template shadowrootmode=open>
66

@@ -19,7 +19,7 @@
1919
{margin-right:10px;}
2020

2121
::slotted(.title)
22-
{text-align:center;position:absolute;left:0;right:0;top:0px;z-index:-1;margin:0 auto;}
22+
{text-align:center;position:absolute;left:0;right:0;top:0px;z-index:-1;margin:0 auto;color:blue}
2323

2424

2525
.date
@@ -42,7 +42,7 @@
4242
</a>
4343

4444

45-
<top-menu component=page parent=html-components-hdr></top-menu>
45+
<top-menu v2.0 component=parent parent=html-components-hdr></top-menu>
4646

4747

4848
</div>
@@ -90,11 +90,11 @@
9090

9191
obj.init = async function(){
9292

93-
//top = mod['top-menu']
93+
top = mod['top-menu']
9494

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

97-
//await top.init();
97+
await top.init();
9898

9999

100100
}//init
@@ -107,7 +107,7 @@
107107

108108
var shadow = host.shadowRoot;
109109

110-
//top.initdom(shadow);
110+
top.initdom(shadow);
111111

112112

113113
}//initdom

0 commit comments

Comments
 (0)