@cocreate/events 1.23.0 → 1.25.0
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 +36 -0
- package/docs/index.html +341 -360
- package/package.json +1 -1
- package/prettier.config.js +16 -0
- package/src/index.js +784 -603
package/docs/index.html
CHANGED
|
@@ -1,173 +1,181 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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-events Documentation | CoCreateJS</title>
|
|
8
|
+
<link
|
|
9
|
+
rel="icon"
|
|
10
|
+
type="image/png"
|
|
11
|
+
sizes="32x32"
|
|
12
|
+
href="https://cocreate.app/images/favicon.ico"
|
|
13
|
+
/>
|
|
14
|
+
<meta
|
|
15
|
+
name="description"
|
|
16
|
+
content="A simple HTML5 and pure javascript component. Easy configuration using HTML5 attributes or Javscript api and highly styleable."
|
|
17
|
+
/>
|
|
18
|
+
<meta
|
|
19
|
+
name="keywords"
|
|
20
|
+
content="helper classes, utility classes, css framework, css library, inline style classes"
|
|
21
|
+
/>
|
|
22
|
+
<meta name="robots" content="index,follow" />
|
|
23
|
+
<meta
|
|
24
|
+
property="og:image"
|
|
25
|
+
content="https://cdn.cocreate.app/docs/events.png"
|
|
26
|
+
/>
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
<link
|
|
29
|
+
rel="stylesheet"
|
|
30
|
+
href="../index.css"
|
|
31
|
+
array="files"
|
|
32
|
+
object="60888216117c640e7596303f"
|
|
33
|
+
key="src"
|
|
34
|
+
type="text/css"
|
|
35
|
+
save="true"
|
|
36
|
+
/>
|
|
37
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
|
38
|
+
</head>
|
|
34
39
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
-
share-network="share"
|
|
102
|
-
title="Share on share"
|
|
103
|
-
><i src="/assets/svg/share-alt.svg"></i
|
|
104
|
-
></a>
|
|
105
|
-
</div>
|
|
106
|
-
<a
|
|
107
|
-
href="https://github.com/CoCreate-app/CoCreate-events"
|
|
108
|
-
target="_blank"
|
|
109
|
-
class="margin-right:15px"
|
|
110
|
-
><i src="/assets/svg/github.svg"></i
|
|
111
|
-
></a>
|
|
112
|
-
</div>
|
|
40
|
+
<body>
|
|
41
|
+
<!-- Navbar -->
|
|
42
|
+
<nav
|
|
43
|
+
class="width:100% display:flex align-items:center background:transparent padding-top:10px padding-bottom:10px"
|
|
44
|
+
content_id="content"
|
|
45
|
+
scroll="sticky-nav,"
|
|
46
|
+
scroll-up="5"
|
|
47
|
+
scroll-down="5"
|
|
48
|
+
path="../"
|
|
49
|
+
src="../components/navbar.html"
|
|
50
|
+
></nav>
|
|
51
|
+
<sidenav
|
|
52
|
+
id="menuL"
|
|
53
|
+
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
|
|
54
|
+
resizable
|
|
55
|
+
resize-selector="[content_id='content']"
|
|
56
|
+
resize-property="margin-left"
|
|
57
|
+
resize-value="width"
|
|
58
|
+
>
|
|
59
|
+
<menu array="files" object="603717b07de7fb350ae9fec8" key="src"></menu>
|
|
60
|
+
<div resize="right"></div>
|
|
61
|
+
</sidenav>
|
|
62
|
+
<main
|
|
63
|
+
class="padding-top:15px padding:15px@lg@xl"
|
|
64
|
+
content_id="content"
|
|
65
|
+
id="cocreate-events"
|
|
66
|
+
>
|
|
67
|
+
<div
|
|
68
|
+
class="display:flex flex-wrap:wrap justify-content:space-between position:relative margin:10px"
|
|
69
|
+
>
|
|
70
|
+
<div class="display:flex align-items:center">
|
|
71
|
+
<h2>CoCreate-events</h2>
|
|
72
|
+
</div>
|
|
73
|
+
<div
|
|
74
|
+
class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white"
|
|
75
|
+
>
|
|
76
|
+
<div
|
|
77
|
+
class="display:flex align-items:center transition:0.3s padding-left:10px"
|
|
78
|
+
share-network="true"
|
|
79
|
+
share-text="Enter decription here"
|
|
80
|
+
share-title="testing im a title"
|
|
81
|
+
share-height="600"
|
|
82
|
+
share-width="700"
|
|
83
|
+
share-media="https://cdn.cocreate.app/docs/events.png"
|
|
84
|
+
hover="display:block!important"
|
|
85
|
+
hover-selector=".social-networks"
|
|
86
|
+
>
|
|
87
|
+
<div class="display:none social-networks">
|
|
88
|
+
<a
|
|
89
|
+
class="margin-right:15px"
|
|
90
|
+
share-network="twitter"
|
|
91
|
+
title="Share on twitter"
|
|
92
|
+
><i src="/assets/svg/twitter.svg"></i
|
|
93
|
+
></a>
|
|
94
|
+
<a
|
|
95
|
+
class="margin-right:15px"
|
|
96
|
+
share-network="facebook"
|
|
97
|
+
title="Share on Facebook"
|
|
98
|
+
><i src="/assets/svg/facebook.svg"></i
|
|
99
|
+
></a>
|
|
100
|
+
<a
|
|
101
|
+
class="margin-right:15px"
|
|
102
|
+
share-network="instagram"
|
|
103
|
+
title="Share on instagram"
|
|
104
|
+
><i src="/assets/svg/instagram.svg"></i
|
|
105
|
+
></a>
|
|
113
106
|
</div>
|
|
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
|
-
|
|
107
|
+
<a
|
|
108
|
+
class="margin-right:15px"
|
|
109
|
+
share-network="share"
|
|
110
|
+
title="Share on share"
|
|
111
|
+
><i src="/assets/svg/share-alt.svg"></i
|
|
112
|
+
></a>
|
|
113
|
+
</div>
|
|
114
|
+
<a
|
|
115
|
+
href="https://github.com/CoCreate-app/CoCreate-events"
|
|
116
|
+
target="_blank"
|
|
117
|
+
class="margin-right:15px"
|
|
118
|
+
><i src="/assets/svg/github.svg"></i
|
|
119
|
+
></a>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
<h1
|
|
123
|
+
class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100"
|
|
124
|
+
>
|
|
125
|
+
It is used to change values in classes or specific attributes, its name
|
|
126
|
+
describes its functionality events.
|
|
127
|
+
</h1>
|
|
128
|
+
<div id="events-section" class="display:flex flex-wrap:wrap">
|
|
129
|
+
<div
|
|
130
|
+
class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px"
|
|
131
|
+
>
|
|
132
|
+
<div
|
|
133
|
+
id="events-install"
|
|
134
|
+
class="border-bottom:1px_solid_lightgrey"
|
|
135
|
+
scroll
|
|
136
|
+
scroll-intersect="color:dodgerblue"
|
|
137
|
+
scroll-selector="#events-install-section"
|
|
138
|
+
>
|
|
139
|
+
<span
|
|
140
|
+
class="display:flex align-items:center width:fit-content"
|
|
141
|
+
hover="display:block!important"
|
|
142
|
+
hover-selector="[href='#events-install']"
|
|
143
|
+
>
|
|
144
|
+
<h2 class="padding:5px_0px">Install</h2>
|
|
145
|
+
<a class="margin-left:10px display:none" href="#events-install"
|
|
146
|
+
><i src="/assets/svg/link.svg"></i
|
|
147
|
+
></a>
|
|
148
|
+
</span>
|
|
149
|
+
</div>
|
|
150
|
+
<pre><code class="language-bash">npm i @cocreate/events</code></pre>
|
|
151
|
+
<p class="padding:10px_0px line-height:1.5">
|
|
152
|
+
Or you can use cdn link:
|
|
153
|
+
</p>
|
|
154
|
+
<pre><code class="language-html"><script>https://cdn.cocreate.app/events/latest/CoCreate-events.min.js</script></code></pre>
|
|
145
155
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
This is events usage
|
|
167
|
-
</p>
|
|
156
|
+
<div
|
|
157
|
+
id="events-usage"
|
|
158
|
+
class="margin-top:80px border-bottom:1px_solid_lightgrey"
|
|
159
|
+
scroll
|
|
160
|
+
scroll-intersect="color:dodgerblue"
|
|
161
|
+
scroll-selector="#events-usage-section"
|
|
162
|
+
>
|
|
163
|
+
<span
|
|
164
|
+
class="display:flex align-items:center width:fit-content"
|
|
165
|
+
hover="display:block!important"
|
|
166
|
+
hover-selector="[href='#events-usage']"
|
|
167
|
+
>
|
|
168
|
+
<h2 class="padding:5px_0px">Usage</h2>
|
|
169
|
+
<a class="margin-left:10px display:none" href="#events-usage"
|
|
170
|
+
><i src="/assets/svg/link.svg"></i
|
|
171
|
+
></a>
|
|
172
|
+
</span>
|
|
173
|
+
</div>
|
|
174
|
+
<div class="">
|
|
175
|
+
<p class="padding:10px_0px line-height:1.5">This is events usage</p>
|
|
168
176
|
|
|
169
|
-
|
|
170
|
-
|
|
177
|
+
<div class="flex-grow:1 min-width:300px width:100%">
|
|
178
|
+
<pre>
|
|
171
179
|
<code class="language-js">
|
|
172
180
|
<article>
|
|
173
181
|
<div id="div-01" class="vdom-item">Here is div-01 i should get class hidden
|
|
@@ -191,206 +199,179 @@
|
|
|
191
199
|
<div class="vdom-item" id="hey" data-test="" events-attribute='data-test' events="active, other, hi, jean" >some content</div>
|
|
192
200
|
</code>
|
|
193
201
|
</pre>
|
|
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
|
-
|
|
231
|
-
|
|
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
|
-
<span class="cocreate-badge success"
|
|
257
|
-
>string</span
|
|
258
|
-
>
|
|
259
|
-
<span class="cocreate-badge warning"
|
|
260
|
-
>optional</span
|
|
261
|
-
>
|
|
262
|
-
</h4>
|
|
263
|
-
<p>
|
|
264
|
-
Apply events functionality to a specific element
|
|
265
|
-
</p>
|
|
266
|
-
</li>
|
|
267
|
-
<li
|
|
268
|
-
class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
|
269
|
-
<h4>
|
|
270
|
-
<span>events-closest</span>
|
|
271
|
-
<span class="cocreate-badge success"
|
|
272
|
-
>string</span
|
|
273
|
-
>
|
|
274
|
-
<span class="cocreate-badge warning"
|
|
275
|
-
>optional</span
|
|
276
|
-
>
|
|
277
|
-
</h4>
|
|
278
|
-
<p>
|
|
279
|
-
Apply events functionality to a closset element
|
|
280
|
-
</p>
|
|
281
|
-
</li>
|
|
282
|
-
</ul>
|
|
283
|
-
</div>
|
|
202
|
+
</div>
|
|
203
|
+
<p class="padding:10px_0px line-height:1.5">This is events usage</p>
|
|
204
|
+
</div>
|
|
205
|
+
<div
|
|
206
|
+
id="events-attributes"
|
|
207
|
+
class="margin-top:80px border-bottom:1px_solid_lightgrey"
|
|
208
|
+
scroll
|
|
209
|
+
scroll-intersect="color:dodgerblue"
|
|
210
|
+
scroll-selector="#events-attributes-section"
|
|
211
|
+
>
|
|
212
|
+
<span
|
|
213
|
+
class="display:flex align-items:center width:fit-content"
|
|
214
|
+
hover="display:block!important"
|
|
215
|
+
hover-selector="[href='#events-attributes']"
|
|
216
|
+
>
|
|
217
|
+
<h2 class="padding:5px_0px">Attributes</h2>
|
|
218
|
+
<a class="margin-left:10px display:none" href="#events-attributes"
|
|
219
|
+
><i src="/assets/svg/link.svg"></i
|
|
220
|
+
></a>
|
|
221
|
+
</span>
|
|
222
|
+
</div>
|
|
223
|
+
<ul class="list-style-type:none">
|
|
224
|
+
<li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
|
225
|
+
<h4>
|
|
226
|
+
<span>events</span>
|
|
227
|
+
<span class="cocreate-badge success">string</span>
|
|
228
|
+
<span class="cocreate-badge danger">required</span>
|
|
229
|
+
</h4>
|
|
230
|
+
<p>
|
|
231
|
+
It is used to initialize the element, and this attribute is
|
|
232
|
+
added to the specific attribute if it is defined, by default the
|
|
233
|
+
class attribute is used
|
|
234
|
+
</p>
|
|
235
|
+
</li>
|
|
236
|
+
<li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
|
237
|
+
<h4>
|
|
238
|
+
<span>events-attribute</span>
|
|
239
|
+
<span class="cocreate-badge success">string</span>
|
|
240
|
+
<span class="cocreate-badge warning">optional</span>
|
|
241
|
+
</h4>
|
|
242
|
+
<p>
|
|
243
|
+
Add or remove values, by default the class attribute is used
|
|
244
|
+
</p>
|
|
245
|
+
</li>
|
|
246
|
+
<li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
|
247
|
+
<h4>
|
|
248
|
+
<span>events-selector</span>
|
|
249
|
+
<span class="cocreate-badge success">string</span>
|
|
250
|
+
<span class="cocreate-badge warning">optional</span>
|
|
251
|
+
</h4>
|
|
252
|
+
<p>Apply events functionality to a specific element</p>
|
|
253
|
+
</li>
|
|
254
|
+
<li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
|
255
|
+
<h4>
|
|
256
|
+
<span>events-closest</span>
|
|
257
|
+
<span class="cocreate-badge success">string</span>
|
|
258
|
+
<span class="cocreate-badge warning">optional</span>
|
|
259
|
+
</h4>
|
|
260
|
+
<p>Apply events functionality to a closset element</p>
|
|
261
|
+
</li>
|
|
262
|
+
</ul>
|
|
263
|
+
</div>
|
|
284
264
|
|
|
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
|
-
|
|
265
|
+
<div
|
|
266
|
+
class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey"
|
|
267
|
+
>
|
|
268
|
+
<!-- SandBox -->
|
|
269
|
+
<div
|
|
270
|
+
id="events-demo"
|
|
271
|
+
class="border-bottom:1px_solid_lightgrey"
|
|
272
|
+
scroll
|
|
273
|
+
scroll-intersect="color:dodgerblue"
|
|
274
|
+
scroll-selector="#events-demo-section"
|
|
275
|
+
>
|
|
276
|
+
<span
|
|
277
|
+
class="display:flex align-items:center width:fit-content"
|
|
278
|
+
hover="display:block!important"
|
|
279
|
+
hover-selector="[href='#events-demo']"
|
|
280
|
+
>
|
|
281
|
+
<h2 class="padding:5px_0px">Demo</h2>
|
|
282
|
+
<a class="margin-left:10px display:none" href="#events-demo"
|
|
283
|
+
><i src="/assets/svg/link.svg"></i
|
|
284
|
+
></a>
|
|
285
|
+
</span>
|
|
286
|
+
</div>
|
|
287
|
+
<div class="position:sticky top:0 padding:15px_0px height:100vh">
|
|
288
|
+
<!-- SandBox -->
|
|
289
|
+
<div
|
|
290
|
+
class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
|
|
291
|
+
id="playground"
|
|
292
|
+
>
|
|
293
|
+
<div
|
|
294
|
+
id="demo-code"
|
|
295
|
+
resizable
|
|
296
|
+
class="position:relative height:50%"
|
|
297
|
+
>
|
|
298
|
+
<textarea
|
|
299
|
+
type="code"
|
|
300
|
+
lang="html"
|
|
301
|
+
array="demos"
|
|
302
|
+
object=""
|
|
303
|
+
key="demo"
|
|
304
|
+
save="false"
|
|
305
|
+
id="demo"
|
|
306
|
+
class="height:100% width:100% outline:none border:none resize:none padding:5px"
|
|
307
|
+
></textarea>
|
|
308
|
+
<div resize="bottom" class="background:lightgrey"></div>
|
|
309
|
+
</div>
|
|
329
310
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
311
|
+
<div
|
|
312
|
+
id="demo-preview"
|
|
313
|
+
class="position:relative overflow:auto background-color:white"
|
|
314
|
+
>
|
|
315
|
+
<div class="demopreview padding:20px"></div>
|
|
316
|
+
</div>
|
|
335
317
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
fullscreen-selector="#playground"></a>
|
|
380
|
-
</div>
|
|
381
|
-
</div>
|
|
382
|
-
<!-- End SandBox -->
|
|
383
|
-
</div>
|
|
384
|
-
</div>
|
|
318
|
+
<div
|
|
319
|
+
class="font-size:20px position:absolute top:10px right:10px opacity:0.6"
|
|
320
|
+
>
|
|
321
|
+
<a
|
|
322
|
+
class="margin-right:10px"
|
|
323
|
+
id="eye"
|
|
324
|
+
show="#eye-slash"
|
|
325
|
+
hide="#eye, #demo-preview"
|
|
326
|
+
events="code-height"
|
|
327
|
+
events-selector="#demo-code"
|
|
328
|
+
><i class="height:18px" src="/assets/svg/eye.svg"></i
|
|
329
|
+
></a>
|
|
330
|
+
<a
|
|
331
|
+
class="margin-right:10px"
|
|
332
|
+
hidden
|
|
333
|
+
id="eye-slash"
|
|
334
|
+
show="#eye, #demo-preview"
|
|
335
|
+
hide="#eye-slash"
|
|
336
|
+
events="code-height"
|
|
337
|
+
events-selector="#demo-code"
|
|
338
|
+
><i src="/assets/svg/eye-slash.svg"></i
|
|
339
|
+
></a>
|
|
340
|
+
<a
|
|
341
|
+
class="margin-right:10px"
|
|
342
|
+
id="code"
|
|
343
|
+
show="#code-slash"
|
|
344
|
+
hide="#code, #demo-code"
|
|
345
|
+
><i src="/assets/svg/code.svg"></i
|
|
346
|
+
></a>
|
|
347
|
+
<a
|
|
348
|
+
class="margin-right:10px"
|
|
349
|
+
hidden
|
|
350
|
+
id="code-slash"
|
|
351
|
+
show="#code, #demo-code"
|
|
352
|
+
hide="#code-slash"
|
|
353
|
+
><i class="height:18px" src="/assets/svg/code.svg"></i
|
|
354
|
+
></a>
|
|
355
|
+
<a
|
|
356
|
+
class="margin-right:5px"
|
|
357
|
+
fullscreen
|
|
358
|
+
fullscreen-selector="#playground"
|
|
359
|
+
></a>
|
|
360
|
+
</div>
|
|
385
361
|
</div>
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
362
|
+
<!-- End SandBox -->
|
|
363
|
+
</div>
|
|
364
|
+
</div>
|
|
365
|
+
</div>
|
|
366
|
+
<button
|
|
367
|
+
href="https://github.com/CoCreate-app/CoCreate-events/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
|
|
368
|
+
target="_blank"
|
|
369
|
+
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)"
|
|
370
|
+
>
|
|
371
|
+
<i src="../assets/svg/pencil-alt.svg"></i>
|
|
372
|
+
</button>
|
|
373
|
+
</main>
|
|
393
374
|
|
|
394
|
-
|
|
395
|
-
|
|
375
|
+
<script src="https://CoCreate.app/dist/CoCreate.js"></script>
|
|
376
|
+
</body>
|
|
396
377
|
</html>
|