File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 4242
4343 var menu ;
4444
45+ var hdr ;
46+ var log ;
47+
4548 var ex1 ;
4649 var ex2 ;
4750 var ex3 ;
5053
5154 menu = menumod ( ) ;
5255
56+ hdr = mod [ 'html-components-hdr' ] ;
57+ log = mod [ 'log-mod' ] ;
58+
5359 ex1 = mod . ex1 ;
5460 ex2 = mod . ex2 ;
5561 ex3 = mod . ex3 ;
5662
63+
64+ hdr . initmod ( { ext, $, menu, log} ) ;
65+ log . initmod ( { ext, $} ) ;
5766
5867 ex1 . initmod ( { ext, $, menu, ace} ) ;
5968 ex2 . initmod ( { ext, $, menu, ace} ) ;
6069 ex3 . initmod ( { ext, $, menu, ace} ) ;
6170
6271 await Promise . all ( [
72+ hdr . init ( ) ,
73+ log . init ( ) ,
6374 ex1 . init ( ) ,
6475 ex2 . init ( ) ,
6576 ex3 . init ( ) ,
153164
154165
155166
156- < html-components-hdr component =page >
167+ < html-components-hdr v2.0 component =page >
157168 < img class =title src ='images/html-components.png ' style ='top:-5px;height:80px ' alt ='deploy cloud run service '>
158169 < time slot =date datetime =2025-11-08 > 08 Nov 2025</ time >
159170 </ html-components-hdr >
216227 init runs to be delayed until the loading stack is complete
217228 </ p >
218229 </ div >
219-
230+ < br >
231+ < br >
220232 < div >
221233 < p >
222234 i demonstrate here a simple setup that loads a log-mod element whos function is to log toaster style messages
320332 </ div >
321333
322334
323-
335+ < log-mod component > </ log-mod >
336+
324337 </ body >
325338
326339 < script >
327340
328341
329342 function initdom ( ) {
330343
331-
344+ hdr . initdom ( ) ;
345+ log . initdom ( ) ;
346+
332347 ex1 . initdom ( ) ;
333348 ex2 . initdom ( ) ;
334349 ex3 . initdom ( ) ;
You can’t perform that action at this time.
0 commit comments