Skip to content

Commit b9300e1

Browse files
save file
1 parent c937fff commit b9300e1

1 file changed

Lines changed: 77 additions & 0 deletions

File tree

html/site-ftr/site-ftr.html

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<site-ftr>
2+
3+
<template shadowrootmode=open>
4+
5+
<style>
6+
7+
#root
8+
{height:100px;color:darkblue;margin-top:30px}
9+
10+
11+
</style>
12+
13+
14+
<div id=root>
15+
16+
17+
<slot name=slot-1></slot>
18+
19+
20+
</div>
21+
22+
</template>
23+
24+
25+
<script>
26+
27+
(function({mod,host}){
28+
29+
var obj = {};
30+
31+
32+
33+
34+
obj.initmod = function(params){
35+
}//initmod
36+
37+
38+
//:
39+
40+
41+
//:
42+
43+
44+
obj.init = function(){
45+
}//init
46+
47+
48+
//:
49+
50+
51+
obj.initdom = function(){
52+
53+
54+
var shadow = host.shadowRoot;
55+
56+
57+
58+
}//initdom
59+
60+
61+
62+
//:
63+
64+
65+
66+
67+
return obj;
68+
69+
//site-hdr
70+
})
71+
</script>
72+
73+
74+
</site-hdr>
75+
76+
77+

0 commit comments

Comments
 (0)