@cocreate/scroll 1.5.11 → 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,439 +1,439 @@
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>overflow:auto 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 simple HTML5 and pure javascript component. Easy configuration using HTML5 attributes or Javscript api and highly styleable." />
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/scroll.png" />
23
-
24
- <!-- CoCreate CSS -->
25
- <link
26
- rel="stylesheet"
27
- href="https://cdn.cocreate.app/latest/CoCreate.min.css"
28
- type="text/css" />
29
- <link
30
- rel="stylesheet"
31
- href="/docs/index.css"
32
- collection="files"
33
- document_id="60888216117c640e7596303f"
34
- name="src"
35
- type="text/css"
36
- save="true" />
37
- <link rel="manifest" href="/manifest.webmanifest" />
38
- </head>
39
-
40
- <body>
41
- <nav
42
- class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
43
- content_id="content"
44
- scroll="sticky-nav,hide-nav"
45
- scroll-up="10"
46
- scroll-down="10"
47
- collection="files"
48
- document_id="60395ef42b3ac232657040fd"
49
- name="src"></nav>
50
- <sidenav
51
- id="menuL"
52
- class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
53
- resizable
54
- resize-target="[content_id='content']"
55
- resize-property="margin-left"
56
- resize-value="width">
57
- <menu
58
- collection="files"
59
- document_id="603717b07de7fb350ae9fec8"
60
- name="src"></menu>
61
- <div resize="right"></div>
62
- </sidenav>
63
- <main
64
- class="padding-top:15px padding:15px@lg@xl"
65
- content_id="content"
66
- id="overflow:auto">
67
- <div
68
- class="display:flex flex-wrap:wrap justify-content:space-between position:relative margin:10px">
69
- <div class="display:flex align-items:center">
70
- <h2>overflow:auto</h2>
71
- </div>
72
- <div
73
- class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white">
74
- <div
75
- class="display:flex align-items:center transition:0.3s padding-left:10px"
76
- share-network="true"
77
- share-text="Enter decription here"
78
- share-title="testing im a title"
79
- share-height="600"
80
- share-width="700"
81
- share-media="https://cdn.cocreate.app/docs/scroll.png"
82
- hover="display:block!important"
83
- hover-target=".social-networks">
84
- <div class="display:none social-networks">
85
- <a
86
- class="margin-right:15px"
87
- share-network="twitter"
88
- title="Share on twitter"
89
- ><i
90
- class="height:20px fill:#505050"
91
- src="/assets/svg/twitter.svg"></i
92
- ></a>
93
- <a
94
- class="margin-right:15px"
95
- share-network="facebook"
96
- title="Share on Facebook"
97
- ><i
98
- class="height:20px fill:#505050"
99
- src="/assets/svg/facebook.svg"></i
100
- ></a>
101
- <a
102
- class="margin-right:15px"
103
- share-network="instagram"
104
- title="Share on instagram"
105
- ><i
106
- class="height:20px fill:#505050"
107
- src="/assets/svg/instagram.svg"></i
108
- ></a>
109
- </div>
110
- <a
111
- class="margin-right:15px"
112
- share-network="share"
113
- title="Share on share"
114
- ><i
115
- class="height:20px fill:#505050"
116
- src="/assets/svg/share-alt.svg"></i
117
- ></a>
118
- </div>
119
- <a
120
- href="https://github.com/CoCreate-app/overflow:auto"
121
- target="_blank"
122
- class="margin-right:15px"
123
- ><i
124
- class="height:20px fill:#505050"
125
- src="/assets/svg/github.svg"></i
126
- ></a>
127
- </div>
128
- </div>
129
- <h1
130
- class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">
131
- A headless vinilla javascript micro component. Easy
132
- configuration using HTML5 attributes or Javscript api.
133
- </h1>
134
- <div id="scroll-section" class="display:flex flex-wrap:wrap">
135
- <div
136
- class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
137
- <div
138
- id="scroll-install"
139
- class="border-bottom:1px_solid_lightgrey"
140
- scroll
141
- scroll-intersect="color:dodgerblue"
142
- scroll-target="#scroll-install-section">
143
- <span
144
- class="display:flex align-items:center width:fit-content"
145
- hover="display:block!important"
146
- hover-target="[href='#scroll-install']">
147
- <h2 class="padding:5px_0px">Install</h2>
148
- <a
149
- class="margin-left:10px display:none"
150
- href="#scroll-install"
151
- ><i
152
- class="height:20px fill:#505050"
153
- src="/assets/svg/link.svg"></i
154
- ></a>
155
- </span>
156
- </div>
157
- <pre><code class="language-bash">npm i @cocreate/scroll</code></pre>
158
- <p class="padding:10px_0px line-height:1.5">
159
- Or you can use cdn link:
160
- </p>
161
- <pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/scroll/latest/overflow:auto.min.js&lt;/script&gt;</code></pre>
162
-
163
- <div
164
- id="scroll-usage"
165
- class="margin-top:80px border-bottom:1px_solid_lightgrey"
166
- scroll
167
- scroll-intersect="color:dodgerblue"
168
- scroll-target="#scroll-usage-section">
169
- <span
170
- class="display:flex align-items:center width:fit-content"
171
- hover="display:block!important"
172
- hover-target="[href='#scroll-usage']">
173
- <h2 class="padding:5px_0px">Usage</h2>
174
- <a
175
- class="margin-left:10px display:none"
176
- href="#scroll-usage"
177
- ><i
178
- class="height:20px fill:#505050"
179
- src="/assets/svg/link.svg"></i
180
- ></a>
181
- </span>
182
- </div>
183
- <div class="">
184
- <p class="padding:10px_0px line-height:1.5">
185
- This is scroll usage
186
- </p>
187
-
188
- <div class="flex-grow:1 min-width:300px width:100%">
189
- <pre>
190
- <code class="language-html">
191
- &lt;div scroll-up_class="up" scroll-down_class="down" scroll-ing_class="scrolling" scroll-range_class="range" scroll-range_begin="1000" scroll-range_end="1500" scroll-intersect="intersect"&gt;</code>
192
- </pre>
193
- </div>
194
- <p class="padding:10px_0px line-height:1.5">
195
- This is scroll usage
196
- </p>
197
- <p class="padding:10px_0px line-height:1.5">
198
- This is scroll usage
199
- </p>
200
- </div>
201
- <div
202
- id="scroll-attributes"
203
- class="margin-top:80px border-bottom:1px_solid_lightgrey"
204
- scroll
205
- scroll-intersect="color:dodgerblue"
206
- scroll-target="#scroll-attributes-section">
207
- <span
208
- class="display:flex align-items:center width:fit-content"
209
- hover="display:block!important"
210
- hover-target="[href='#scroll-attributes']">
211
- <h2 class="padding:5px_0px">Attributes</h2>
212
- <a
213
- class="margin-left:10px display:none"
214
- href="#scroll-attributes"
215
- ><i
216
- class="height:20px fill:#505050"
217
- src="/assets/svg/link.svg"></i
218
- ></a>
219
- </span>
220
- </div>
221
- <ul class="list-style-type:none">
222
- <li
223
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
224
- <h4>
225
- <span>scroll-up_class</span>
226
- <span class="cocreate-badge success"
227
- >string</span
228
- >
229
- <span class="cocreate-badge warning"
230
- >optional</span
231
- >
232
- </h4>
233
- <p>Scroll-Up-Class</p>
234
- </li>
235
- <li
236
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
237
- <h4>
238
- <span>scroll-down_class</span>
239
- <span class="cocreate-badge success"
240
- >string</span
241
- >
242
- <span class="cocreate-badge warning"
243
- >optional</span
244
- >
245
- </h4>
246
- <p>Scroll-Down-Class</p>
247
- </li>
248
- <li
249
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
250
- <h4>
251
- <span>scroll-ing_class</span>
252
- <span class="cocreate-badge success"
253
- >string</span
254
- >
255
- <span class="cocreate-badge warning"
256
- >optional</span
257
- >
258
- </h4>
259
- <p>Scroll-Range-Class</p>
260
- </li>
261
- <li
262
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
263
- <h4>
264
- <span>scroll-range_class</span>
265
- <span class="cocreate-badge success"
266
- >string</span
267
- >
268
- <span class="cocreate-badge warning"
269
- >optional</span
270
- >
271
- </h4>
272
- <p>Scroll-Range-Class</p>
273
- </li>
274
- <li
275
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
276
- <h4>
277
- <span>scroll-range_begin</span>
278
- <span class="cocreate-badge success"
279
- >number</span
280
- >
281
- <span class="cocreate-badge warning"
282
- >optional</span
283
- >
284
- </h4>
285
- <p>Scroll-Range-Begin</p>
286
- </li>
287
- <li
288
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
289
- <h4>
290
- <span>scroll-range_end</span>
291
- <span class="cocreate-badge success"
292
- >number</span
293
- >
294
- <span class="cocreate-badge warning"
295
- >optional</span
296
- >
297
- </h4>
298
- <p>Scroll-Range-End</p>
299
- </li>
300
- <li
301
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
302
- <h4>
303
- <span>scroll-intersect</span>
304
- <span class="cocreate-badge success"
305
- >string</span
306
- >
307
- <span class="cocreate-badge warning"
308
- >optional</span
309
- >
310
- </h4>
311
- <p>Scroll-Intersect</p>
312
- </li>
313
- </ul>
314
- </div>
315
-
316
- <div
317
- class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey">
318
- <!-- SandBox -->
319
- <div
320
- id="scroll-demo"
321
- class="border-bottom:1px_solid_lightgrey"
322
- scroll
323
- scroll-intersect="color:dodgerblue"
324
- scroll-target="#scroll-demo-section">
325
- <span
326
- class="display:flex align-items:center width:fit-content"
327
- hover="display:block!important"
328
- hover-target="[href='#scroll-demo']">
329
- <h2 class="padding:5px_0px">Demo</h2>
330
- <a
331
- class="margin-left:10px display:none"
332
- href="#scroll-demo"
333
- ><i
334
- class="height:20px fill:#505050"
335
- src="/assets/svg/link.svg"></i
336
- ></a>
337
- </span>
338
- </div>
339
- <div
340
- class="position:sticky top:0 padding:15px_0px height:100vh">
341
- <!-- SandBox -->
342
- <div
343
- class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
344
- id="playground">
345
- <div
346
- id="demo-code"
347
- resizable
348
- class="position:relative height:50%">
349
- <textarea
350
- type="code"
351
- lang="html"
352
- collection="demos"
353
- document_id=""
354
- name="demo"
355
- save="false"
356
- id="demo"
357
- input-target=".demopreview"
358
- input-attribute="value"
359
- input-events="input, onload"
360
- class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
361
- <div
362
- resize="bottom"
363
- class="background:lightgrey"></div>
364
- </div>
365
-
366
- <div
367
- id="demo-preview"
368
- class="position:relative overflow:auto background-color:white">
369
- <div class="demopreview padding:20px"></div>
370
- </div>
371
-
372
- <div
373
- class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
374
- <a
375
- class="margin-right:10px"
376
- id="eye"
377
- show="#eye-slash"
378
- hide="#eye, #demo-preview"
379
- toggle="code-height"
380
- toggle-target="#demo-code"
381
- ><i
382
- class="height:18px fill:#505050"
383
- src="/assets/svg/eye.svg"></i
384
- ></a>
385
- <a
386
- class="margin-right:10px"
387
- hidden
388
- id="eye-slash"
389
- show="#eye, #demo-preview"
390
- hide="#eye-slash"
391
- toggle="code-height"
392
- toggle-target="#demo-code"
393
- ><i
394
- class="height:20px fill:#505050"
395
- src="/assets/svg/eye-slash.svg"></i
396
- ></a>
397
- <a
398
- class="margin-right:10px"
399
- id="code"
400
- show="#code-slash"
401
- hide="#code, #demo-code"
402
- ><i
403
- class="height:20px fill:#505050"
404
- src="/assets/svg/code.svg"></i
405
- ></a>
406
- <a
407
- class="margin-right:10px"
408
- hidden
409
- id="code-slash"
410
- show="#code, #demo-code"
411
- hide="#code-slash"
412
- ><i
413
- class="display:flex height:18px fill:#505050"
414
- src="/assets/svg/code.svg"></i
415
- ></a>
416
- <a
417
- class="margin-right:5px"
418
- fullscreen
419
- fullscreen-target="#playground"></a>
420
- </div>
421
- </div>
422
- <!-- End SandBox -->
423
- </div>
424
- </div>
425
- </div>
426
- <button
427
- href="https://github.com/CoCreate-app/overflow:auto/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
428
- target="_blank"
429
- 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)">
430
- <i
431
- class="height:20px fill:#505050"
432
- src="/assets/svg/pencil-alt.svg"></i>
433
- </button>
434
- </main>
435
-
436
- <script src="./apikey.js"></script>
437
- <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
438
- </body>
439
- </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>overflow:auto 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 simple HTML5 and pure javascript component. Easy configuration using HTML5 attributes or Javscript api and highly styleable." />
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/scroll.png" />
23
+
24
+ <!-- CoCreate CSS -->
25
+ <link
26
+ rel="stylesheet"
27
+ href="https://cdn.cocreate.app/latest/CoCreate.min.css"
28
+ type="text/css" />
29
+ <link
30
+ rel="stylesheet"
31
+ href="/docs/index.css"
32
+ collection="files"
33
+ document_id="60888216117c640e7596303f"
34
+ name="src"
35
+ type="text/css"
36
+ save="true" />
37
+ <link rel="manifest" href="/manifest.webmanifest" />
38
+ </head>
39
+
40
+ <body>
41
+ <nav
42
+ class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
43
+ content_id="content"
44
+ scroll="sticky-nav,hide-nav"
45
+ scroll-up="10"
46
+ scroll-down="10"
47
+ collection="files"
48
+ document_id="60395ef42b3ac232657040fd"
49
+ name="src"></nav>
50
+ <sidenav
51
+ id="menuL"
52
+ class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
53
+ resizable
54
+ resize-target="[content_id='content']"
55
+ resize-property="margin-left"
56
+ resize-value="width">
57
+ <menu
58
+ collection="files"
59
+ document_id="603717b07de7fb350ae9fec8"
60
+ name="src"></menu>
61
+ <div resize="right"></div>
62
+ </sidenav>
63
+ <main
64
+ class="padding-top:15px padding:15px@lg@xl"
65
+ content_id="content"
66
+ id="overflow:auto">
67
+ <div
68
+ class="display:flex flex-wrap:wrap justify-content:space-between position:relative margin:10px">
69
+ <div class="display:flex align-items:center">
70
+ <h2>overflow:auto</h2>
71
+ </div>
72
+ <div
73
+ class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white">
74
+ <div
75
+ class="display:flex align-items:center transition:0.3s padding-left:10px"
76
+ share-network="true"
77
+ share-text="Enter decription here"
78
+ share-title="testing im a title"
79
+ share-height="600"
80
+ share-width="700"
81
+ share-media="https://cdn.cocreate.app/docs/scroll.png"
82
+ hover="display:block!important"
83
+ hover-target=".social-networks">
84
+ <div class="display:none social-networks">
85
+ <a
86
+ class="margin-right:15px"
87
+ share-network="twitter"
88
+ title="Share on twitter"
89
+ ><i
90
+ class="height:20px fill:#505050"
91
+ src="/assets/svg/twitter.svg"></i
92
+ ></a>
93
+ <a
94
+ class="margin-right:15px"
95
+ share-network="facebook"
96
+ title="Share on Facebook"
97
+ ><i
98
+ class="height:20px fill:#505050"
99
+ src="/assets/svg/facebook.svg"></i
100
+ ></a>
101
+ <a
102
+ class="margin-right:15px"
103
+ share-network="instagram"
104
+ title="Share on instagram"
105
+ ><i
106
+ class="height:20px fill:#505050"
107
+ src="/assets/svg/instagram.svg"></i
108
+ ></a>
109
+ </div>
110
+ <a
111
+ class="margin-right:15px"
112
+ share-network="share"
113
+ title="Share on share"
114
+ ><i
115
+ class="height:20px fill:#505050"
116
+ src="/assets/svg/share-alt.svg"></i
117
+ ></a>
118
+ </div>
119
+ <a
120
+ href="https://github.com/CoCreate-app/overflow:auto"
121
+ target="_blank"
122
+ class="margin-right:15px"
123
+ ><i
124
+ class="height:20px fill:#505050"
125
+ src="/assets/svg/github.svg"></i
126
+ ></a>
127
+ </div>
128
+ </div>
129
+ <h1
130
+ class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">
131
+ A headless vinilla javascript micro component. Easy
132
+ configuration using HTML5 attributes or Javscript api.
133
+ </h1>
134
+ <div id="scroll-section" class="display:flex flex-wrap:wrap">
135
+ <div
136
+ class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
137
+ <div
138
+ id="scroll-install"
139
+ class="border-bottom:1px_solid_lightgrey"
140
+ scroll
141
+ scroll-intersect="color:dodgerblue"
142
+ scroll-target="#scroll-install-section">
143
+ <span
144
+ class="display:flex align-items:center width:fit-content"
145
+ hover="display:block!important"
146
+ hover-target="[href='#scroll-install']">
147
+ <h2 class="padding:5px_0px">Install</h2>
148
+ <a
149
+ class="margin-left:10px display:none"
150
+ href="#scroll-install"
151
+ ><i
152
+ class="height:20px fill:#505050"
153
+ src="/assets/svg/link.svg"></i
154
+ ></a>
155
+ </span>
156
+ </div>
157
+ <pre><code class="language-bash">npm i @cocreate/scroll</code></pre>
158
+ <p class="padding:10px_0px line-height:1.5">
159
+ Or you can use cdn link:
160
+ </p>
161
+ <pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/scroll/latest/overflow:auto.min.js&lt;/script&gt;</code></pre>
162
+
163
+ <div
164
+ id="scroll-usage"
165
+ class="margin-top:80px border-bottom:1px_solid_lightgrey"
166
+ scroll
167
+ scroll-intersect="color:dodgerblue"
168
+ scroll-target="#scroll-usage-section">
169
+ <span
170
+ class="display:flex align-items:center width:fit-content"
171
+ hover="display:block!important"
172
+ hover-target="[href='#scroll-usage']">
173
+ <h2 class="padding:5px_0px">Usage</h2>
174
+ <a
175
+ class="margin-left:10px display:none"
176
+ href="#scroll-usage"
177
+ ><i
178
+ class="height:20px fill:#505050"
179
+ src="/assets/svg/link.svg"></i
180
+ ></a>
181
+ </span>
182
+ </div>
183
+ <div class="">
184
+ <p class="padding:10px_0px line-height:1.5">
185
+ This is scroll usage
186
+ </p>
187
+
188
+ <div class="flex-grow:1 min-width:300px width:100%">
189
+ <pre>
190
+ <code class="language-html">
191
+ &lt;div scroll-up_class="up" scroll-down_class="down" scroll-ing_class="scrolling" scroll-range_class="range" scroll-range_begin="1000" scroll-range_end="1500" scroll-intersect="intersect"&gt;</code>
192
+ </pre>
193
+ </div>
194
+ <p class="padding:10px_0px line-height:1.5">
195
+ This is scroll usage
196
+ </p>
197
+ <p class="padding:10px_0px line-height:1.5">
198
+ This is scroll usage
199
+ </p>
200
+ </div>
201
+ <div
202
+ id="scroll-attributes"
203
+ class="margin-top:80px border-bottom:1px_solid_lightgrey"
204
+ scroll
205
+ scroll-intersect="color:dodgerblue"
206
+ scroll-target="#scroll-attributes-section">
207
+ <span
208
+ class="display:flex align-items:center width:fit-content"
209
+ hover="display:block!important"
210
+ hover-target="[href='#scroll-attributes']">
211
+ <h2 class="padding:5px_0px">Attributes</h2>
212
+ <a
213
+ class="margin-left:10px display:none"
214
+ href="#scroll-attributes"
215
+ ><i
216
+ class="height:20px fill:#505050"
217
+ src="/assets/svg/link.svg"></i
218
+ ></a>
219
+ </span>
220
+ </div>
221
+ <ul class="list-style-type:none">
222
+ <li
223
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
224
+ <h4>
225
+ <span>scroll-up_class</span>
226
+ <span class="cocreate-badge success"
227
+ >string</span
228
+ >
229
+ <span class="cocreate-badge warning"
230
+ >optional</span
231
+ >
232
+ </h4>
233
+ <p>Scroll-Up-Class</p>
234
+ </li>
235
+ <li
236
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
237
+ <h4>
238
+ <span>scroll-down_class</span>
239
+ <span class="cocreate-badge success"
240
+ >string</span
241
+ >
242
+ <span class="cocreate-badge warning"
243
+ >optional</span
244
+ >
245
+ </h4>
246
+ <p>Scroll-Down-Class</p>
247
+ </li>
248
+ <li
249
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
250
+ <h4>
251
+ <span>scroll-ing_class</span>
252
+ <span class="cocreate-badge success"
253
+ >string</span
254
+ >
255
+ <span class="cocreate-badge warning"
256
+ >optional</span
257
+ >
258
+ </h4>
259
+ <p>Scroll-Range-Class</p>
260
+ </li>
261
+ <li
262
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
263
+ <h4>
264
+ <span>scroll-range_class</span>
265
+ <span class="cocreate-badge success"
266
+ >string</span
267
+ >
268
+ <span class="cocreate-badge warning"
269
+ >optional</span
270
+ >
271
+ </h4>
272
+ <p>Scroll-Range-Class</p>
273
+ </li>
274
+ <li
275
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
276
+ <h4>
277
+ <span>scroll-range_begin</span>
278
+ <span class="cocreate-badge success"
279
+ >number</span
280
+ >
281
+ <span class="cocreate-badge warning"
282
+ >optional</span
283
+ >
284
+ </h4>
285
+ <p>Scroll-Range-Begin</p>
286
+ </li>
287
+ <li
288
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
289
+ <h4>
290
+ <span>scroll-range_end</span>
291
+ <span class="cocreate-badge success"
292
+ >number</span
293
+ >
294
+ <span class="cocreate-badge warning"
295
+ >optional</span
296
+ >
297
+ </h4>
298
+ <p>Scroll-Range-End</p>
299
+ </li>
300
+ <li
301
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
302
+ <h4>
303
+ <span>scroll-intersect</span>
304
+ <span class="cocreate-badge success"
305
+ >string</span
306
+ >
307
+ <span class="cocreate-badge warning"
308
+ >optional</span
309
+ >
310
+ </h4>
311
+ <p>Scroll-Intersect</p>
312
+ </li>
313
+ </ul>
314
+ </div>
315
+
316
+ <div
317
+ class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey">
318
+ <!-- SandBox -->
319
+ <div
320
+ id="scroll-demo"
321
+ class="border-bottom:1px_solid_lightgrey"
322
+ scroll
323
+ scroll-intersect="color:dodgerblue"
324
+ scroll-target="#scroll-demo-section">
325
+ <span
326
+ class="display:flex align-items:center width:fit-content"
327
+ hover="display:block!important"
328
+ hover-target="[href='#scroll-demo']">
329
+ <h2 class="padding:5px_0px">Demo</h2>
330
+ <a
331
+ class="margin-left:10px display:none"
332
+ href="#scroll-demo"
333
+ ><i
334
+ class="height:20px fill:#505050"
335
+ src="/assets/svg/link.svg"></i
336
+ ></a>
337
+ </span>
338
+ </div>
339
+ <div
340
+ class="position:sticky top:0 padding:15px_0px height:100vh">
341
+ <!-- SandBox -->
342
+ <div
343
+ class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
344
+ id="playground">
345
+ <div
346
+ id="demo-code"
347
+ resizable
348
+ class="position:relative height:50%">
349
+ <textarea
350
+ type="code"
351
+ lang="html"
352
+ collection="demos"
353
+ document_id=""
354
+ name="demo"
355
+ save="false"
356
+ id="demo"
357
+ input-target=".demopreview"
358
+ input-attribute="value"
359
+ input-events="input, onload"
360
+ class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
361
+ <div
362
+ resize="bottom"
363
+ class="background:lightgrey"></div>
364
+ </div>
365
+
366
+ <div
367
+ id="demo-preview"
368
+ class="position:relative overflow:auto background-color:white">
369
+ <div class="demopreview padding:20px"></div>
370
+ </div>
371
+
372
+ <div
373
+ class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
374
+ <a
375
+ class="margin-right:10px"
376
+ id="eye"
377
+ show="#eye-slash"
378
+ hide="#eye, #demo-preview"
379
+ toggle="code-height"
380
+ toggle-target="#demo-code"
381
+ ><i
382
+ class="height:18px fill:#505050"
383
+ src="/assets/svg/eye.svg"></i
384
+ ></a>
385
+ <a
386
+ class="margin-right:10px"
387
+ hidden
388
+ id="eye-slash"
389
+ show="#eye, #demo-preview"
390
+ hide="#eye-slash"
391
+ toggle="code-height"
392
+ toggle-target="#demo-code"
393
+ ><i
394
+ class="height:20px fill:#505050"
395
+ src="/assets/svg/eye-slash.svg"></i
396
+ ></a>
397
+ <a
398
+ class="margin-right:10px"
399
+ id="code"
400
+ show="#code-slash"
401
+ hide="#code, #demo-code"
402
+ ><i
403
+ class="height:20px fill:#505050"
404
+ src="/assets/svg/code.svg"></i
405
+ ></a>
406
+ <a
407
+ class="margin-right:10px"
408
+ hidden
409
+ id="code-slash"
410
+ show="#code, #demo-code"
411
+ hide="#code-slash"
412
+ ><i
413
+ class="display:flex height:18px fill:#505050"
414
+ src="/assets/svg/code.svg"></i
415
+ ></a>
416
+ <a
417
+ class="margin-right:5px"
418
+ fullscreen
419
+ fullscreen-target="#playground"></a>
420
+ </div>
421
+ </div>
422
+ <!-- End SandBox -->
423
+ </div>
424
+ </div>
425
+ </div>
426
+ <button
427
+ href="https://github.com/CoCreate-app/overflow:auto/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
428
+ target="_blank"
429
+ 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)">
430
+ <i
431
+ class="height:20px fill:#505050"
432
+ src="/assets/svg/pencil-alt.svg"></i>
433
+ </button>
434
+ </main>
435
+
436
+ <script src="./apikey.js"></script>
437
+ <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
438
+ </body>
439
+ </html>