Skip to content

Commit eb61e78

Browse files
save file
1 parent 0478e0b commit eb61e78

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

html-components/html-components.html

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,25 @@
4444

4545
var ex1;
4646
var ex2;
47+
var ex3;
4748

4849
async function init(){
4950

5051
menu = menumod();
5152

5253
ex1 = mod.ex1;
5354
ex2 = mod.ex2;
55+
ex3 = mod.ex3;
56+
5457

5558
ex1.initmod({ext,$,menu,ace});
5659
ex2.initmod({ext,$,menu,ace});
60+
ex3.initmod({ext,$,menu,ace});
5761

5862
await Promise.all([
5963
ex1.init(),
6064
ex2.init(),
65+
ex3.init(),
6166
]);
6267

6368
initdom();
@@ -164,8 +169,25 @@
164169

165170

166171
<div>
172+
167173
<p>
168-
to me a component / module should have a standard lifecycle that is
174+
view the full list of component
175+
<br>
176+
<a href='html-component-list/html-component-list.html'>
177+
html component list
178+
</a>
179+
</p>
180+
181+
<p>
182+
view the component library documentation and api
183+
<br>
184+
<a href='component-library/component-library.html'>
185+
component library
186+
</a>
187+
</p>
188+
189+
<p>
190+
to me a component / module will have a standard lifecycle that is
169191
</p>
170192
<ul>
171193
<li>
@@ -204,14 +226,18 @@
204226
the common elements to this setup are the inclusion of the component script, the initialisation ( init ) function
205227
and the initdom
206228
</p>
207-
<snippet-html-console id=ex1 component v2.0 src='ex/log-ex.html'></snippet-html-console>
229+
230+
<snippet-html-console id=ex1 component v2.0 src='ex/log-ex.html' style='display:block;margin-top:100px'></snippet-html-console>
231+
208232
</div>
209233

210-
<div>
234+
<div style='display:block;margin-top:100px'>
211235
<p>
212236
this is the code for the log-mod component
213237
</p>
238+
214239
<web-editor id=ex2 component fullsize src='https://libs.ext-code.com/html/log-mod/log-mod.html'></web-editor>
240+
215241
</div>
216242

217243

@@ -305,6 +331,7 @@
305331

306332
ex1.initdom();
307333
ex2.initdom();
334+
ex3.initdom();
308335

309336

310337

0 commit comments

Comments
 (0)