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