Skip to content

Commit 7472d22

Browse files
save file
1 parent 2104aac commit 7472d22

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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+

0 commit comments

Comments
 (0)