Skip to content

Commit e425440

Browse files
save file
1 parent ea9ab56 commit e425440

1 file changed

Lines changed: 103 additions & 0 deletions

File tree

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<srcdoc-headers>
2+
3+
<template shadowrootmode=open>
4+
5+
<style>
6+
7+
#root
8+
{display:flex;flex:direction:column;gap:10px;padding:10px}
9+
10+
#hdr
11+
{display:flex;gap:10px}
12+
13+
#list
14+
{flex:1;display:flex;flex-direction:column}
15+
16+
#item
17+
{}
18+
19+
20+
21+
input
22+
{font-size:16px;padding:5px 10px}
23+
input[type=button]
24+
{cursor:pointer}
25+
26+
27+
</style>
28+
29+
<div id=root>
30+
31+
<div id=hdr>
32+
<input id=name>
33+
<input id=value>
34+
<input value=add type=button>
35+
</div>
36+
37+
<div id=list>
38+
<div class=item>
39+
<div class=name>
40+
</div>
41+
<div class=value>
42+
</div>
43+
<img class=remove>
44+
</div>
45+
</div>
46+
</div>
47+
48+
</template>
49+
50+
<script>
51+
52+
(function({mod,host}){
53+
54+
var obj = {};
55+
56+
var df=true,did='srcdoc-headers'
57+
;
58+
59+
var $,debug
60+
;
61+
62+
obj.initmod = function(params){
63+
64+
$ = mod.rd(params,'$',$);
65+
debug = mod.rd(params,'debug',debug);
66+
67+
}//initmod
68+
69+
70+
//:
71+
72+
73+
//:
74+
75+
76+
obj.init = async function(){
77+
debug=eval(debug.mod);
78+
debug('init');
79+
80+
}//init
81+
82+
83+
//:
84+
85+
86+
obj.initdom = async function(){
87+
}//initdom
88+
89+
90+
//:
91+
92+
93+
94+
return obj;
95+
96+
})
97+
98+
</script>
99+
100+
</srcdoc-headers>
101+
102+
103+

0 commit comments

Comments
 (0)