@cocreate/elements 1.41.1 → 1.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/demo/index.html +177 -177
- package/docs/index.html +330 -332
- package/package.json +11 -15
- package/src/fetchSrc.js +147 -154
- package/src/form.js +29 -12
- package/src/index.js +65 -39
- package/src/value.js +106 -0
- package/webpack.config.js +65 -90
package/docs/index.html
CHANGED
|
@@ -1,344 +1,342 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
property="og:image"
|
|
18
|
-
content="https://cdn.cocreate.app/docs/elements.png"
|
|
19
|
-
/>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
<meta
|
|
8
|
+
name="description"
|
|
9
|
+
content="Fetch content into any html element by using attributes to query data stored in CoCreate headless CMS. If data is changed it will instantly reflect in html tags" />
|
|
10
|
+
<meta
|
|
11
|
+
name="keywords"
|
|
12
|
+
content="helper classes, utility classes, css framework, css library, inline style classes" />
|
|
13
|
+
<meta name="robots" content="index,follow" />
|
|
14
|
+
<meta
|
|
15
|
+
property="og:image"
|
|
16
|
+
content="https://cdn.cocreate.app/docs/elements.png" />
|
|
20
17
|
|
|
21
|
-
|
|
18
|
+
<title>CoCreate-elements Documentation | CoCreateJS</title>
|
|
22
19
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
<link rel="manifest" href="/manifest.webmanifest" />
|
|
40
|
-
</head>
|
|
20
|
+
<!-- CoCreate Favicon -->
|
|
21
|
+
<link
|
|
22
|
+
rel="icon"
|
|
23
|
+
type="image/png"
|
|
24
|
+
sizes="32x32"
|
|
25
|
+
href="https://cocreate.app/images/favicon.ico" />
|
|
26
|
+
<link
|
|
27
|
+
rel="stylesheet"
|
|
28
|
+
href="../index.css"
|
|
29
|
+
array="files"
|
|
30
|
+
object="60888216117c640e7596303f"
|
|
31
|
+
key="src"
|
|
32
|
+
type="text/css"
|
|
33
|
+
save="true" />
|
|
34
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
|
35
|
+
</head>
|
|
41
36
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
<p class="padding:10px_0px line-height:1.5">
|
|
155
|
-
Or you can use cdn link:
|
|
156
|
-
</p>
|
|
157
|
-
<pre><code class="language-html"><script>https://cdn.cocreate.app/elements/latest/CoCreate-elements.min.js</script></code></pre>
|
|
37
|
+
<body>
|
|
38
|
+
<!-- Navbar -->
|
|
39
|
+
<nav
|
|
40
|
+
class="width:100% display:flex align-items:center background:transparent padding-top:10px padding-bottom:10px"
|
|
41
|
+
content_id="content"
|
|
42
|
+
scroll="sticky-nav,"
|
|
43
|
+
scroll-up="5"
|
|
44
|
+
scroll-down="5"
|
|
45
|
+
path="../"
|
|
46
|
+
src="../components/navbar.html"></nav>
|
|
47
|
+
<sidenav
|
|
48
|
+
id="menuL"
|
|
49
|
+
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
|
|
50
|
+
resizable
|
|
51
|
+
resize-query="[content_id='content']"
|
|
52
|
+
resize-property="margin-left"
|
|
53
|
+
resize-value="width">
|
|
54
|
+
<menu
|
|
55
|
+
array="files"
|
|
56
|
+
object="603717b07de7fb350ae9fec8"
|
|
57
|
+
key="src"></menu>
|
|
58
|
+
<div resize="right"></div>
|
|
59
|
+
</sidenav>
|
|
60
|
+
<main
|
|
61
|
+
class="padding-top:15px padding:15px@lg@xl"
|
|
62
|
+
content_id="content"
|
|
63
|
+
id="cocreate-elements">
|
|
64
|
+
<div
|
|
65
|
+
class="display:flex flex-wrap:wrap justify-content:space-between position:relative margin:10px">
|
|
66
|
+
<div class="display:flex align-items:center">
|
|
67
|
+
<h2>CoCreate-elements</h2>
|
|
68
|
+
</div>
|
|
69
|
+
<div
|
|
70
|
+
class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white">
|
|
71
|
+
<div
|
|
72
|
+
class="display:flex align-items:center transition:0.3s padding-left:10px"
|
|
73
|
+
share-network="true"
|
|
74
|
+
share-text="Fetch content into any html element by using attributes to query data stored in CoCreate headless CMS. If data is changed it will instantly reflect in html tags"
|
|
75
|
+
share-title="CoCreate elements"
|
|
76
|
+
share-height="600"
|
|
77
|
+
share-width="700"
|
|
78
|
+
share-media="https://cdn.cocreate.app/docs/elements.png"
|
|
79
|
+
hover="display:block!important"
|
|
80
|
+
hover-query=".social-networks">
|
|
81
|
+
<div class="display:none social-networks">
|
|
82
|
+
<a
|
|
83
|
+
class="margin-right:15px"
|
|
84
|
+
share-network="twitter"
|
|
85
|
+
title="Share on twitter"
|
|
86
|
+
><i src="/assets/svg/twitter.svg"></i
|
|
87
|
+
></a>
|
|
88
|
+
<a
|
|
89
|
+
class="margin-right:15px"
|
|
90
|
+
share-network="facebook"
|
|
91
|
+
title="Share on Facebook"
|
|
92
|
+
><i src="/assets/svg/facebook.svg"></i
|
|
93
|
+
></a>
|
|
94
|
+
<a
|
|
95
|
+
class="margin-right:15px"
|
|
96
|
+
share-network="instagram"
|
|
97
|
+
title="Share on instagram"
|
|
98
|
+
><i src="/assets/svg/instagram.svg"></i
|
|
99
|
+
></a>
|
|
100
|
+
</div>
|
|
101
|
+
<a
|
|
102
|
+
class="margin-right:15px"
|
|
103
|
+
share-network="share"
|
|
104
|
+
title="Share on share"
|
|
105
|
+
><i src="/assets/svg/share-alt.svg"></i
|
|
106
|
+
></a>
|
|
107
|
+
</div>
|
|
108
|
+
<a
|
|
109
|
+
href="https://github.com/CoCreate-app/CoCreate-elements"
|
|
110
|
+
target="_blank"
|
|
111
|
+
class="margin-right:15px"
|
|
112
|
+
><i src="/assets/svg/github.svg"></i
|
|
113
|
+
></a>
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
<h1
|
|
117
|
+
class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">
|
|
118
|
+
Fetch content into any html element by using html5 attributes to
|
|
119
|
+
query data stored in CoCreate headless CMS. If data is changed
|
|
120
|
+
it will instantly reflect in html tags as changes are
|
|
121
|
+
broadcasted in realtime
|
|
122
|
+
</h1>
|
|
123
|
+
<div id="elements-section" class="display:flex flex-wrap:wrap">
|
|
124
|
+
<div
|
|
125
|
+
class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
|
|
126
|
+
<div
|
|
127
|
+
id="elements-install"
|
|
128
|
+
class="border-bottom:1px_solid_lightgrey"
|
|
129
|
+
scroll
|
|
130
|
+
scroll-intersect="color:dodgerblue"
|
|
131
|
+
scroll-query="#elements-install-section">
|
|
132
|
+
<span
|
|
133
|
+
class="display:flex align-items:center width:fit-content"
|
|
134
|
+
hover="display:block!important"
|
|
135
|
+
hover-query="[href='#elements-install']">
|
|
136
|
+
<h2 class="padding:5px_0px">Install</h2>
|
|
137
|
+
<a
|
|
138
|
+
class="margin-left:10px display:none"
|
|
139
|
+
href="#elements-install"
|
|
140
|
+
><i src="/assets/svg/link.svg"></i
|
|
141
|
+
></a>
|
|
142
|
+
</span>
|
|
143
|
+
</div>
|
|
144
|
+
<pre><code class="language-bash">npm i @cocreate/elements</code></pre>
|
|
145
|
+
<p class="padding:10px_0px line-height:1.5">
|
|
146
|
+
Or you can use cdn link:
|
|
147
|
+
</p>
|
|
148
|
+
<pre><code class="language-html"><script>https://cdn.cocreate.app/elements/latest/CoCreate-elements.min.js</script></code></pre>
|
|
158
149
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
150
|
+
<div
|
|
151
|
+
id="elements-usage"
|
|
152
|
+
class="margin-top:80px border-bottom:1px_solid_lightgrey"
|
|
153
|
+
scroll
|
|
154
|
+
scroll-intersect="color:dodgerblue"
|
|
155
|
+
scroll-query="#elements-usage-section">
|
|
156
|
+
<span
|
|
157
|
+
class="display:flex align-items:center width:fit-content"
|
|
158
|
+
hover="display:block!important"
|
|
159
|
+
hover-query="[href='#elements-usage']">
|
|
160
|
+
<h2 class="padding:5px_0px">Usage</h2>
|
|
161
|
+
<a
|
|
162
|
+
class="margin-left:10px display:none"
|
|
163
|
+
href="#elements-usage"
|
|
164
|
+
><i src="/assets/svg/link.svg"></i
|
|
165
|
+
></a>
|
|
166
|
+
</span>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="">
|
|
169
|
+
<p class="padding:10px_0px line-height:1.5">
|
|
170
|
+
This is elements usage
|
|
171
|
+
</p>
|
|
181
172
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
173
|
+
<div class="flex-grow:1 min-width:300px width:100%">
|
|
174
|
+
<pre><code class="language-html"><div></div></code></pre>
|
|
175
|
+
</div>
|
|
176
|
+
<p class="padding:10px_0px line-height:1.5">
|
|
177
|
+
This is elements usage
|
|
178
|
+
</p>
|
|
179
|
+
<p class="padding:10px_0px line-height:1.5">
|
|
180
|
+
This is elements usage
|
|
181
|
+
</p>
|
|
182
|
+
</div>
|
|
183
|
+
<div
|
|
184
|
+
id="elements-attributes"
|
|
185
|
+
class="margin-top:80px border-bottom:1px_solid_lightgrey"
|
|
186
|
+
scroll
|
|
187
|
+
scroll-intersect="color:dodgerblue"
|
|
188
|
+
scroll-query="#elements-attributes-section">
|
|
189
|
+
<span
|
|
190
|
+
class="display:flex align-items:center width:fit-content"
|
|
191
|
+
hover="display:block!important"
|
|
192
|
+
hover-query="[href='#elements-attributes']">
|
|
193
|
+
<h2 class="padding:5px_0px">Attributes</h2>
|
|
194
|
+
<a
|
|
195
|
+
class="margin-left:10px display:none"
|
|
196
|
+
href="#elements-attributes"
|
|
197
|
+
><i src="/assets/svg/link.svg"></i
|
|
198
|
+
></a>
|
|
199
|
+
</span>
|
|
200
|
+
</div>
|
|
201
|
+
<ul class="list-style-type:none">
|
|
202
|
+
<li
|
|
203
|
+
class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
|
204
|
+
<h4>
|
|
205
|
+
<span>elements</span>
|
|
206
|
+
<span class="cocreate-badge success"
|
|
207
|
+
>string</span
|
|
208
|
+
>
|
|
209
|
+
<span class="cocreate-badge warning"
|
|
210
|
+
>optional</span
|
|
211
|
+
>
|
|
212
|
+
</h4>
|
|
213
|
+
<p>elements-attribute</p>
|
|
214
|
+
</li>
|
|
215
|
+
<li
|
|
216
|
+
class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
|
217
|
+
<h4>
|
|
218
|
+
<span>elements</span>
|
|
219
|
+
<span class="cocreate-badge success"
|
|
220
|
+
>string</span
|
|
221
|
+
>
|
|
222
|
+
<span class="cocreate-badge warning"
|
|
223
|
+
>optional</span
|
|
224
|
+
>
|
|
225
|
+
</h4>
|
|
226
|
+
<p>elements-attribute</p>
|
|
227
|
+
</li>
|
|
228
|
+
</ul>
|
|
229
|
+
</div>
|
|
231
230
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
</div>
|
|
231
|
+
<div
|
|
232
|
+
class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey">
|
|
233
|
+
<!-- SandBox -->
|
|
234
|
+
<div
|
|
235
|
+
id="elements-demo"
|
|
236
|
+
class="border-bottom:1px_solid_lightgrey"
|
|
237
|
+
scroll
|
|
238
|
+
scroll-intersect="color:dodgerblue"
|
|
239
|
+
scroll-query="#elements-demo-section">
|
|
240
|
+
<span
|
|
241
|
+
class="display:flex align-items:center width:fit-content"
|
|
242
|
+
hover="display:block!important"
|
|
243
|
+
hover-query="[href='#elements-demo']">
|
|
244
|
+
<h2 class="padding:5px_0px">Demo</h2>
|
|
245
|
+
<a
|
|
246
|
+
class="margin-left:10px display:none"
|
|
247
|
+
href="#elements-demo"
|
|
248
|
+
><i src="/assets/svg/link.svg"></i
|
|
249
|
+
></a>
|
|
250
|
+
</span>
|
|
251
|
+
</div>
|
|
252
|
+
<div
|
|
253
|
+
class="position:sticky top:0 padding:15px_0px height:100vh">
|
|
254
|
+
<!-- SandBox -->
|
|
255
|
+
<div
|
|
256
|
+
class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
|
|
257
|
+
id="playground">
|
|
258
|
+
<div
|
|
259
|
+
id="demo-code"
|
|
260
|
+
resizable
|
|
261
|
+
class="position:relative height:50%">
|
|
262
|
+
<textarea
|
|
263
|
+
type="code"
|
|
264
|
+
lang="html"
|
|
265
|
+
array="demos"
|
|
266
|
+
object=""
|
|
267
|
+
key="demo"
|
|
268
|
+
save="false"
|
|
269
|
+
id="demo"
|
|
270
|
+
class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
|
|
271
|
+
<div
|
|
272
|
+
resize="bottom"
|
|
273
|
+
class="background:lightgrey"></div>
|
|
274
|
+
</div>
|
|
277
275
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
</div>
|
|
276
|
+
<div
|
|
277
|
+
id="demo-preview"
|
|
278
|
+
class="position:relative overflow:auto background-color:white">
|
|
279
|
+
<div class="demopreview padding:20px"></div>
|
|
280
|
+
</div>
|
|
284
281
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
282
|
+
<div
|
|
283
|
+
class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
|
|
284
|
+
<a
|
|
285
|
+
class="margin-right:10px"
|
|
286
|
+
id="eye"
|
|
287
|
+
show="#eye-slash"
|
|
288
|
+
hide="#eye, #demo-preview"
|
|
289
|
+
toggle="code-height"
|
|
290
|
+
toggle-query="#demo-code"
|
|
291
|
+
><i
|
|
292
|
+
class="height:18px"
|
|
293
|
+
src="/assets/svg/eye.svg"></i
|
|
294
|
+
></a>
|
|
295
|
+
<a
|
|
296
|
+
class="margin-right:10px"
|
|
297
|
+
hidden
|
|
298
|
+
id="eye-slash"
|
|
299
|
+
show="#eye, #demo-preview"
|
|
300
|
+
hide="#eye-slash"
|
|
301
|
+
toggle="code-height"
|
|
302
|
+
toggle-query="#demo-code"
|
|
303
|
+
><i src="/assets/svg/eye-slash.svg"></i
|
|
304
|
+
></a>
|
|
305
|
+
<a
|
|
306
|
+
class="margin-right:10px"
|
|
307
|
+
id="code"
|
|
308
|
+
show="#code-slash"
|
|
309
|
+
hide="#code, #demo-code"
|
|
310
|
+
><i src="/assets/svg/code.svg"></i
|
|
311
|
+
></a>
|
|
312
|
+
<a
|
|
313
|
+
class="margin-right:10px"
|
|
314
|
+
hidden
|
|
315
|
+
id="code-slash"
|
|
316
|
+
show="#code, #demo-code"
|
|
317
|
+
hide="#code-slash"
|
|
318
|
+
><i
|
|
319
|
+
class="height:18px"
|
|
320
|
+
src="/assets/svg/code.svg"></i
|
|
321
|
+
></a>
|
|
322
|
+
<a
|
|
323
|
+
class="margin-right:5px"
|
|
324
|
+
fullscreen
|
|
325
|
+
fullscreen-query="#playground"></a>
|
|
326
|
+
</div>
|
|
327
|
+
</div>
|
|
328
|
+
<!-- End SandBox -->
|
|
329
|
+
</div>
|
|
330
|
+
</div>
|
|
331
|
+
</div>
|
|
332
|
+
<button
|
|
333
|
+
href="https://github.com/CoCreate-app/CoCreate-elements/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
|
|
334
|
+
target="_blank"
|
|
335
|
+
class="display:flex justify-content:center align-items:center position:fixed bottom:15px right:15px height:50px width:50px border-radius:50% box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
|
|
336
|
+
<i src="../assets/svg/pencil-alt.svg"></i>
|
|
337
|
+
</button>
|
|
338
|
+
</main>
|
|
341
339
|
|
|
342
|
-
|
|
343
|
-
|
|
340
|
+
<script src="https://CoCreate.app/dist/CoCreate.js"></script>
|
|
341
|
+
</body>
|
|
344
342
|
</html>
|