Skip to content

Commit d75dfa1

Browse files
save file
1 parent 2fd2289 commit d75dfa1

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

html-components/html-components.html

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242

4343
var menu;
4444

45+
var hdr;
46+
var log;
47+
4548
var ex1;
4649
var ex2;
4750
var ex3;
@@ -50,16 +53,24 @@
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(),
@@ -153,7 +164,7 @@
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>
@@ -216,7 +227,8 @@
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
@@ -320,15 +332,18 @@
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();

0 commit comments

Comments
 (0)