@cocreate/resize 1.5.12 → 1.5.13

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