File tree Expand file tree Collapse file tree 1 file changed +30
-3
lines changed
Expand file tree Collapse file tree 1 file changed +30
-3
lines changed Original file line number Diff line number Diff line change 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 ( ) ;
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 >
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
305331
306332 ex1 . initdom ( ) ;
307333 ex2 . initdom ( ) ;
334+ ex3 . initdom ( ) ;
308335
309336
310337
You can’t perform that action at this time.
0 commit comments