@cocreate/selection 1.6.10 → 1.6.12
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/.github/FUNDING.yml +3 -3
- package/.github/workflows/automated.yml +95 -95
- package/.github/workflows/manual.yml +44 -44
- package/CHANGELOG.md +923 -909
- package/CONTRIBUTING.md +96 -96
- package/CoCreate.config.js +26 -26
- package/LICENSE +683 -683
- package/README.md +98 -98
- package/demo/index.html +20 -22
- package/docs/index.html +278 -102
- package/package.json +66 -66
- package/release.config.js +21 -21
- package/src/index.js +448 -448
- package/webpack.config.js +84 -84
package/README.md
CHANGED
@@ -1,99 +1,99 @@
|
|
1
|
-
# CoCreate-selection
|
2
|
-
|
3
|
-
A simple selection component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/selection)
|
4
|
-
|
5
|
-

|
6
|
-

|
7
|
-

|
8
|
-

|
9
|
-

|
10
|
-

|
11
|
-

|
12
|
-
|
13
|
-
|
14
|
-

|
15
|
-
|
16
|
-
## [Docs & Demo](https://cocreate.app/docs/selection)
|
17
|
-
|
18
|
-
For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/selection)
|
19
|
-
|
20
|
-
## CDN
|
21
|
-
|
22
|
-
```html
|
23
|
-
<script src="https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js"></script>
|
24
|
-
```
|
25
|
-
|
26
|
-
```html
|
27
|
-
<script src="https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.css"></script>
|
28
|
-
```
|
29
|
-
|
30
|
-
## NPM
|
31
|
-
|
32
|
-
```shell
|
33
|
-
$ npm i @cocreate/selection
|
34
|
-
```
|
35
|
-
|
36
|
-
## yarn
|
37
|
-
|
38
|
-
```shell
|
39
|
-
$ yarn install @cocreate/selection
|
40
|
-
```
|
41
|
-
|
42
|
-
# Table of Contents
|
43
|
-
|
44
|
-
- [Table of Contents](#table-of-contents)
|
45
|
-
- [Announcements](#announcements)
|
46
|
-
- [Roadmap](#roadmap)
|
47
|
-
- [How to Contribute](#how-to-contribute)
|
48
|
-
- [About](#about)
|
49
|
-
- [License](#license)
|
50
|
-
|
51
|
-
<a name="announcements"></a>
|
52
|
-
|
53
|
-
# Announcements
|
54
|
-
|
55
|
-
All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-selection/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-selection/releases). You may also subscribe to email for releases and breaking changes.
|
56
|
-
|
57
|
-
<a name="roadmap"></a>
|
58
|
-
|
59
|
-
# Roadmap
|
60
|
-
|
61
|
-
If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-selection/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-selection/pulls). We would love to hear your feedback.
|
62
|
-
|
63
|
-
<a name="about"></a>
|
64
|
-
|
65
|
-
# About
|
66
|
-
|
67
|
-
CoCreate-selection is guided and supported by the CoCreate Developer Experience Team.
|
68
|
-
|
69
|
-
Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
|
70
|
-
|
71
|
-
CoCreate-selection is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
|
72
|
-
|
73
|
-
<a name="contribute"></a>
|
74
|
-
|
75
|
-
# How to Contribute
|
76
|
-
|
77
|
-
We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-selection/blob/master/CONTRIBUTING.md) guide for details.
|
78
|
-
|
79
|
-
We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-selection/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-selection/pulls) or merely upvote or comment on existing issues or pull requests.
|
80
|
-
|
81
|
-
We appreciate your continued support, thank you!
|
82
|
-
|
83
|
-
|
84
|
-
<a name="license"></a>
|
85
|
-
# Dual License
|
86
|
-
## Open Source
|
87
|
-
[GNU Affero General Public License version 3 (AGPL-3.0)](https://github.com/CoCreate-app/CoCreate-selection/blob/master/LICENSE)
|
88
|
-
|
89
|
-
## Commercial
|
90
|
-
For-profit companies and individuals intending to use CoCreate-selection for
|
91
|
-
commercial use must purchase a commercial license. This license allows
|
92
|
-
source code modifications, but does not permit redistribution of
|
93
|
-
modifications.
|
94
|
-
|
95
|
-
The commercial license is designed for you to use CoCreate-selection in commercial
|
96
|
-
products and applications, without the provisions of the GPLv3. With the
|
97
|
-
commercial license, your code is kept propietary, to yourself. If you
|
98
|
-
want to use CoCreate-selection to develop commercial sites, themes, projects, and
|
1
|
+
# CoCreate-selection
|
2
|
+
|
3
|
+
A simple selection component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/selection)
|
4
|
+
|
5
|
+

|
6
|
+

|
7
|
+

|
8
|
+

|
9
|
+

|
10
|
+

|
11
|
+

|
12
|
+
|
13
|
+
|
14
|
+

|
15
|
+
|
16
|
+
## [Docs & Demo](https://cocreate.app/docs/selection)
|
17
|
+
|
18
|
+
For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/selection)
|
19
|
+
|
20
|
+
## CDN
|
21
|
+
|
22
|
+
```html
|
23
|
+
<script src="https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js"></script>
|
24
|
+
```
|
25
|
+
|
26
|
+
```html
|
27
|
+
<script src="https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.css"></script>
|
28
|
+
```
|
29
|
+
|
30
|
+
## NPM
|
31
|
+
|
32
|
+
```shell
|
33
|
+
$ npm i @cocreate/selection
|
34
|
+
```
|
35
|
+
|
36
|
+
## yarn
|
37
|
+
|
38
|
+
```shell
|
39
|
+
$ yarn install @cocreate/selection
|
40
|
+
```
|
41
|
+
|
42
|
+
# Table of Contents
|
43
|
+
|
44
|
+
- [Table of Contents](#table-of-contents)
|
45
|
+
- [Announcements](#announcements)
|
46
|
+
- [Roadmap](#roadmap)
|
47
|
+
- [How to Contribute](#how-to-contribute)
|
48
|
+
- [About](#about)
|
49
|
+
- [License](#license)
|
50
|
+
|
51
|
+
<a name="announcements"></a>
|
52
|
+
|
53
|
+
# Announcements
|
54
|
+
|
55
|
+
All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-selection/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-selection/releases). You may also subscribe to email for releases and breaking changes.
|
56
|
+
|
57
|
+
<a name="roadmap"></a>
|
58
|
+
|
59
|
+
# Roadmap
|
60
|
+
|
61
|
+
If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-selection/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-selection/pulls). We would love to hear your feedback.
|
62
|
+
|
63
|
+
<a name="about"></a>
|
64
|
+
|
65
|
+
# About
|
66
|
+
|
67
|
+
CoCreate-selection is guided and supported by the CoCreate Developer Experience Team.
|
68
|
+
|
69
|
+
Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
|
70
|
+
|
71
|
+
CoCreate-selection is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
|
72
|
+
|
73
|
+
<a name="contribute"></a>
|
74
|
+
|
75
|
+
# How to Contribute
|
76
|
+
|
77
|
+
We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-selection/blob/master/CONTRIBUTING.md) guide for details.
|
78
|
+
|
79
|
+
We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-selection/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-selection/pulls) or merely upvote or comment on existing issues or pull requests.
|
80
|
+
|
81
|
+
We appreciate your continued support, thank you!
|
82
|
+
|
83
|
+
|
84
|
+
<a name="license"></a>
|
85
|
+
# Dual License
|
86
|
+
## Open Source
|
87
|
+
[GNU Affero General Public License version 3 (AGPL-3.0)](https://github.com/CoCreate-app/CoCreate-selection/blob/master/LICENSE)
|
88
|
+
|
89
|
+
## Commercial
|
90
|
+
For-profit companies and individuals intending to use CoCreate-selection for
|
91
|
+
commercial use must purchase a commercial license. This license allows
|
92
|
+
source code modifications, but does not permit redistribution of
|
93
|
+
modifications.
|
94
|
+
|
95
|
+
The commercial license is designed for you to use CoCreate-selection in commercial
|
96
|
+
products and applications, without the provisions of the GPLv3. With the
|
97
|
+
commercial license, your code is kept propietary, to yourself. If you
|
98
|
+
want to use CoCreate-selection to develop commercial sites, themes, projects, and
|
99
99
|
applications, the commercial license is the appropriate license.
|
package/demo/index.html
CHANGED
@@ -1,22 +1,20 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
</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
|
+
<link
|
8
|
+
rel="icon"
|
9
|
+
href="https://cdn.cocreate.app/favicon.ico"
|
10
|
+
type="image/ico"
|
11
|
+
sizes="16x16" />
|
12
|
+
<title>selection | CoCreateJS</title>
|
13
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
14
|
+
</head>
|
15
|
+
|
16
|
+
<body>
|
17
|
+
<!--<script src="https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js"></script>-->
|
18
|
+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
|
19
|
+
</body>
|
20
|
+
</html>
|
package/docs/index.html
CHANGED
@@ -1,102 +1,278 @@
|
|
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-selection Documentation | CoCreateJS
|
8
|
-
<link
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
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
|
-
|
102
|
-
|
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-selection 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 headless javascript micro component. Easy configuration using HTML5 attributes or JavaScript api." />
|
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
|
+
|
21
|
+
<link
|
22
|
+
rel="stylesheet"
|
23
|
+
href="/docs/index.css"
|
24
|
+
collection="files"
|
25
|
+
document_id="60888216117c640e7596303f"
|
26
|
+
name="src"
|
27
|
+
type="text/css"
|
28
|
+
save="true" />
|
29
|
+
|
30
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
31
|
+
</head>
|
32
|
+
|
33
|
+
<body>
|
34
|
+
<nav
|
35
|
+
class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
|
36
|
+
content_id="content"
|
37
|
+
scroll="sticky-nav,hide-nav"
|
38
|
+
scroll-up="10"
|
39
|
+
scroll-down="10"
|
40
|
+
collection="files"
|
41
|
+
document_id="60395ef42b3ac232657040fd"
|
42
|
+
name="src"></nav>
|
43
|
+
<sidenav
|
44
|
+
id="menuL"
|
45
|
+
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
|
46
|
+
resizable
|
47
|
+
resize-target="[content_id='content']"
|
48
|
+
resize-property="margin-left"
|
49
|
+
resize-value="width">
|
50
|
+
<menu
|
51
|
+
collection="files"
|
52
|
+
document_id="603717b07de7fb350ae9fec8"
|
53
|
+
name="src"></menu>
|
54
|
+
<div resize="right"></div>
|
55
|
+
</sidenav>
|
56
|
+
<main
|
57
|
+
class="padding-top:15px padding:15px@lg@xl"
|
58
|
+
content_id="content"
|
59
|
+
id="cocreate-selection">
|
60
|
+
<div
|
61
|
+
class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
|
62
|
+
<div class="display:flex align-items:center">
|
63
|
+
<h2>CoCreate-selection</h2>
|
64
|
+
</div>
|
65
|
+
<div
|
66
|
+
class="display:flex align-items:center font-size:20px"
|
67
|
+
share-height="600"
|
68
|
+
share-width="500"
|
69
|
+
share-media="https://via.placeholder.com/300/09f/fff.png">
|
70
|
+
<a
|
71
|
+
href="https://github.com/CoCreate-app/CoCreate-selection"
|
72
|
+
target="_blank"
|
73
|
+
class="margin-right:15px"
|
74
|
+
><i
|
75
|
+
class="height:20px fill:#505050"
|
76
|
+
src="/assets/svg/github.svg"></i
|
77
|
+
></a>
|
78
|
+
<a
|
79
|
+
class="margin-right:15px share"
|
80
|
+
share-network="twitter"
|
81
|
+
title="Share on twitter"
|
82
|
+
><i
|
83
|
+
class="height:20px fill:#505050"
|
84
|
+
src="/assets/svg/twitter.svg"></i
|
85
|
+
></a>
|
86
|
+
<a
|
87
|
+
class="margin-right:15px share"
|
88
|
+
share-network="facebook"
|
89
|
+
title="Share on Facebook"
|
90
|
+
><i
|
91
|
+
class="height:20px fill:#505050"
|
92
|
+
src="/assets/svg/facebook.svg"></i
|
93
|
+
></a>
|
94
|
+
<a
|
95
|
+
class="margin-right:15px share"
|
96
|
+
share-network="instagram"
|
97
|
+
title="Share on instagram"
|
98
|
+
><i
|
99
|
+
class="height:20px fill:#505050"
|
100
|
+
src="/assets/svg/instagram.svg"></i
|
101
|
+
></a>
|
102
|
+
<a
|
103
|
+
class="margin-right:15px share"
|
104
|
+
share-network="share"
|
105
|
+
title="Share on share"
|
106
|
+
><i
|
107
|
+
class="height:20px fill:#505050"
|
108
|
+
src="/assets/svg/share-alt.svg"></i
|
109
|
+
></a>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
<h1 class="max-width:500px margin:20px_10px">
|
113
|
+
A simple HTML5, CSS and pure javascript component. Easy
|
114
|
+
configuration using data-attributes and highly styleable.
|
115
|
+
</h1>
|
116
|
+
<div id="selection-section" class="display:flex flex-wrap:wrap">
|
117
|
+
<div class="flex-grow:1 width:300px padding:20px_10px">
|
118
|
+
<h2
|
119
|
+
class="border-bottom:1px_solid_lightgrey padding:5px_0px">
|
120
|
+
Install
|
121
|
+
</h2>
|
122
|
+
<pre
|
123
|
+
class="margin-top:15px"><code class="language-javascript">npm install cocreate-selection</code></pre>
|
124
|
+
<p class="padding:10px_0px">Or you can use cdn link:</p>
|
125
|
+
<pre><code class="language-javascript">https://cdn.cocreate.app/js/CoCreate-selection.min.js</code></pre>
|
126
|
+
|
127
|
+
<h2
|
128
|
+
class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
|
129
|
+
Usage
|
130
|
+
</h2>
|
131
|
+
<p class="padding:10px_0px">selection usage content</p>
|
132
|
+
<pre><code class="language-html"><div></div></code></pre>
|
133
|
+
|
134
|
+
<h2
|
135
|
+
class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
|
136
|
+
Reference
|
137
|
+
</h2>
|
138
|
+
<p class="padding:10px_0px">
|
139
|
+
This is selection reference content
|
140
|
+
</p>
|
141
|
+
<pre><code class="language-javascript"><div></div></code></pre>
|
142
|
+
<p class="padding:10px_0px">
|
143
|
+
This is selection reference content
|
144
|
+
</p>
|
145
|
+
|
146
|
+
<h2
|
147
|
+
class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
|
148
|
+
Attributes
|
149
|
+
</h2>
|
150
|
+
<ul class="list-style-type:none">
|
151
|
+
<li
|
152
|
+
class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
153
|
+
<h4>
|
154
|
+
<span>selection</span>
|
155
|
+
<span class="cocreate-badge success"
|
156
|
+
>string</span
|
157
|
+
>
|
158
|
+
<span class="cocreate-badge warning"
|
159
|
+
>optional</span
|
160
|
+
>
|
161
|
+
</h4>
|
162
|
+
<p>selection-attribute</p>
|
163
|
+
</li>
|
164
|
+
<li
|
165
|
+
class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
166
|
+
<h4>
|
167
|
+
<span>selection</span>
|
168
|
+
<span class="cocreate-badge success"
|
169
|
+
>string</span
|
170
|
+
>
|
171
|
+
<span class="cocreate-badge warning"
|
172
|
+
>optional</span
|
173
|
+
>
|
174
|
+
</h4>
|
175
|
+
<p>selection-attribute</p>
|
176
|
+
</li>
|
177
|
+
</ul>
|
178
|
+
</div>
|
179
|
+
|
180
|
+
<div
|
181
|
+
class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
|
182
|
+
<!-- SandBox -->
|
183
|
+
<h2
|
184
|
+
class="border-bottom:1px_solid_lightgrey padding:5px_0px">
|
185
|
+
Demo
|
186
|
+
</h2>
|
187
|
+
<div
|
188
|
+
class="position:sticky top:0 padding:10px_0px height:100vh">
|
189
|
+
<!-- SandBox -->
|
190
|
+
<div
|
191
|
+
class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
|
192
|
+
id="playground">
|
193
|
+
<div
|
194
|
+
id="demo-code"
|
195
|
+
resizable
|
196
|
+
class="position:relative height:50%">
|
197
|
+
<textarea
|
198
|
+
type="code"
|
199
|
+
lang="html"
|
200
|
+
collection="demos"
|
201
|
+
document_id=""
|
202
|
+
name="demo"
|
203
|
+
save="false"
|
204
|
+
id="demo"
|
205
|
+
input-target=".demopreview"
|
206
|
+
input-attribute="value"
|
207
|
+
input-events="input, onload"
|
208
|
+
class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
|
209
|
+
<div
|
210
|
+
resize="bottom"
|
211
|
+
class="background:lightgrey"></div>
|
212
|
+
</div>
|
213
|
+
|
214
|
+
<div
|
215
|
+
id="demo-preview"
|
216
|
+
class="position:relative overflow:auto background-color:white">
|
217
|
+
<div class="demopreview padding:20px"></div>
|
218
|
+
</div>
|
219
|
+
|
220
|
+
<div
|
221
|
+
class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
|
222
|
+
<a
|
223
|
+
class="margin-right:10px"
|
224
|
+
id="eye"
|
225
|
+
show="#eye-slash"
|
226
|
+
hide="#eye, #demo-preview"
|
227
|
+
toggle="code-height"
|
228
|
+
toggle-target="#demo-code"
|
229
|
+
><i
|
230
|
+
class="height:18px fill:#505050"
|
231
|
+
src="/assets/svg/eye.svg"></i
|
232
|
+
></a>
|
233
|
+
<a
|
234
|
+
class="margin-right:10px"
|
235
|
+
hidden
|
236
|
+
id="eye-slash"
|
237
|
+
show="#eye, #demo-preview"
|
238
|
+
hide="#eye-slash"
|
239
|
+
toggle="code-height"
|
240
|
+
toggle-target="#demo-code"
|
241
|
+
><i
|
242
|
+
class="height:20px fill:#505050"
|
243
|
+
src="/assets/svg/eye-slash.svg"></i
|
244
|
+
></a>
|
245
|
+
<a
|
246
|
+
class="margin-right:10px"
|
247
|
+
id="code"
|
248
|
+
show="#code-slash"
|
249
|
+
hide="#code, #demo-code"
|
250
|
+
><i
|
251
|
+
class="height:20px fill:#505050"
|
252
|
+
src="/assets/svg/code.svg"></i
|
253
|
+
></a>
|
254
|
+
<a
|
255
|
+
class="margin-right:10px"
|
256
|
+
hidden
|
257
|
+
id="code-slash"
|
258
|
+
show="#code, #demo-code"
|
259
|
+
hide="#code-slash"
|
260
|
+
><i
|
261
|
+
class="display:flex height:18px fill:#505050"
|
262
|
+
src="/assets/svg/code.svg"></i
|
263
|
+
></a>
|
264
|
+
<a
|
265
|
+
class="margin-right:5px"
|
266
|
+
fullscreen
|
267
|
+
fullscreen-target="#playground"></a>
|
268
|
+
</div>
|
269
|
+
</div>
|
270
|
+
<!-- End SandBox -->
|
271
|
+
</div>
|
272
|
+
</div>
|
273
|
+
</div>
|
274
|
+
</main>
|
275
|
+
<script src="/apikey.js"></script>
|
276
|
+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
|
277
|
+
</body>
|
278
|
+
</html>
|