File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed
utils/editors/html/auto-save/test Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+
2+
3+
4+ < script src ='https://libs.ext-code.com/js/dom/component/component.js '> </ script >
5+ < script src ='https://libs.ext-code.com/js/dom/init-hdr/init-hdr.js '> </ script >
6+
7+
8+ < script >
9+
10+
11+
12+ async function init ( ) {
13+
14+ var autosave = mod [ 'auto-save' ] ;
15+ autosave . initmod ( { save} ) ;
16+
17+ var log = mod [ 'log-mod' ] ;
18+ mod . base . add ( { log} ) ;
19+
20+ await mod . auto ( ) ;
21+
22+ await initdom ( document . body ) ;
23+
24+ } //init
25+
26+
27+ function initdom ( rootnode ) {
28+
29+
30+ } //initdom
31+
32+
33+ function save ( ) {
34+ console . log ( 'save' ) ;
35+ } //save
36+
37+
38+
39+ </ script >
40+
41+
42+ < body >
43+
44+ < h3 >
45+ auto-save test
46+ </ h3 >
47+
48+ < div >
49+
50+ < auto-save component =grp1 v2.0 > </ auto-save >
51+
52+ </ div >
53+
54+ < log-mod component > </ log-mod >
55+
56+ </ body >
57+
58+
59+
You can’t perform that action at this time.
0 commit comments