File tree Expand file tree Collapse file tree
utils/misc/nodejs-terminal/html/webcontainer-fs/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 < script src ='https://libs.ext-code.com/js/dom/component/v3.0/component.js?hdr '> </ script >
1111
1212
13+ < style >
14+
15+ html
16+ {font-family : arial;height : 750px }
17+
18+ .icon
19+ {border : 1px solid gray;border-radius : 3px ;box-sizing : border-box;width : 32px ;height : 32px ;cursor : pointer}
20+
21+
22+ </ style >
23+
1324 < script init >
1425 console . log ( 'webcontainer-fs test' ) ;
1526 console . log ( ) ;
3546 } //init
3647
3748
49+ ( async ( ) => {
50+
51+ mod . stack . add ;
52+
53+ ( { ext} = await import ( 'https://libs.ext-code.com/js/io/ext-loader/ext-loader.m.js' ) ) ;
54+
55+ var promise = ext . load . libs (
56+ 'js/dom/$.js.api' ,
57+ 'js/core/datatype.js' ,
58+ 'js/dom/menumod/menumod.js' ,
59+ 'js/dom/keydown/keydown.js'
60+ ) ;
61+ [ $ , datatype , menumod , keydown ] = await promise ;
62+
63+ mod . stack . complete ;
64+
65+ } ) ( ) ;
66+
67+
3868 </ script >
3969
4070 < style >
5585
5686 < webcontainer-fs component =page > </ webcontainer-fs >
5787
88+
89+ < log-mod component > </ log-mod >
90+
5891 </ body >
5992
6093
You can’t perform that action at this time.
0 commit comments