File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
html-components/html/html-components-hdr Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 11
22
3- < html-components-hdr >
3+ < html-components-hdr v2.0 >
44
55 < template shadowrootmode =open >
66
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
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 >
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
107107
108108 var shadow = host . shadowRoot ;
109109
110- // top.initdom(shadow);
110+ top . initdom ( shadow ) ;
111111
112112
113113 } //initdom
You can’t perform that action at this time.
0 commit comments