Skip to content

Commit 3eedbe8

Browse files
committed
fix: remove data- from attributes
1 parent e488b52 commit 3eedbe8

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

docs/index.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</head>
1919

2020
<body>
21-
<nav class="nav display:flex align-items:center background:whitesmoke padding-top:10px padding-bottom:10px" data-main_content_id="content" data-scroll="sticky-nav,hide-nav" data-scroll_up="10" data-scroll_down="10" collection="components" document_id="60395ef42b3ac232657040fd"
21+
<nav class="nav display:flex align-items:center background:whitesmoke padding-top:10px padding-bottom:10px" data-main_content_id="content" scroll="sticky-nav,hide-nav" scroll-up="10" scroll-down="10" collection="components" document_id="60395ef42b3ac232657040fd"
2222
name="html">
2323
</nav>
2424
<sidenav id="menuL" class="cocreate-sidenav background:whitesmoke" data-main_content="content" sidenav-default_desktop="expanded" sidenav-default_tablet="offcanvas" sidenav-ontoggle_desktop="offcanvas" sidenav-ontoggle_tablet="expanded">
@@ -31,16 +31,16 @@
3131
<h2>CoCreate-clone</h2>
3232
</div>
3333
<div class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white">
34-
<div class="display:flex align-items:center transition:0.3s padding-left:10px" data-share_network="true" data-share_text="Clone an element by #id, identify targeted elements using data-clone_id="
35-
". Capable of creating nested & complex cloning logic for kanbans, tasklists etc" data-share_title="CoCreate Clone" data-share_height="600" data-share_width="700" data-share_media="https://cdn.cocreate.app/docs/clone.png" data-hover="display:block!important" data-hover_target=".social-networks">
34+
<div class="display:flex align-items:center transition:0.3s padding-left:10px" share-network="true" share-text="Clone an element by #id, identify targeted elements using data-clone_id="
35+
". Capable of creating nested & complex cloning logic for kanbans, tasklists etc" share-title="CoCreate Clone" share-height="600" share-width="700" share-media="https://cdn.cocreate.app/docs/clone.png" hover="display:block!important" hover-target=".social-networks">
3636
<div class="display:none social-networks">
37-
<a class="margin-right:15px" data-share_network='twitter' title="Share on twitter"><i class="fab fa-twitter"></i></a>
38-
<a class="margin-right:15px" data-share_network='facebook' title="Share on Facebook"><i class="fab fa-facebook"></i></a>
39-
<a class="margin-right:15px" data-share_network='instagram' title="Share on instagram"><i class="fab fa-instagram"></i></a>
37+
<a class="margin-right:15px" share-network='twitter' title="Share on twitter"><i class="fab fa-twitter"></i></a>
38+
<a class="margin-right:15px" share-network='facebook' title="Share on Facebook"><i class="fab fa-facebook"></i></a>
39+
<a class="margin-right:15px" share-network='instagram' title="Share on instagram"><i class="fab fa-instagram"></i></a>
4040
</div>
41-
<a class="margin-right:15px" data-share_network='share' title="Share on share"><i class="fas fa-share-alt"></i></a>
41+
<a class="margin-right:15px" share-network='share' title="Share on share"><i class="fas fa-share-alt"></i></a>
4242
</div>
43-
<a class="margin-right:15px" data-share_network='share' title="Share on share"><i class="fas fa-share-alt"></i></a>
43+
<a class="margin-right:15px" share-network='share' title="Share on share"><i class="fas fa-share-alt"></i></a>
4444
</div>
4545
<a href="https://github.com/CoCreate-app/CoCreate-clone" target="_blank" class="margin-right:15px"><i class="fab fa-github"></i></a>
4646
</div>
@@ -49,8 +49,8 @@ <h2>CoCreate-clone</h2>
4949
<div id="clone-section" class="display:flex flex-wrap:wrap">
5050
<div class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
5151

52-
<div id="clone-install" class="border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#clone-install-section">
53-
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#clone-install"]'>
52+
<div id="clone-install" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#clone-install-section">
53+
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#clone-install"]'>
5454
<h2 class="padding:5px_0px">Install</h2>
5555
<a class="margin-left:10px display:none" href="#clone-install"><i class="fas fa-link"></i></a>
5656
</span>
@@ -59,8 +59,8 @@ <h2 class="padding:5px_0px">Install</h2>
5959
<p class="padding:10px_0px line-height:1.5">Or you can use cdn link:</p>
6060
<pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/clone/latest/CoCreate-clone.min.js&lt;/script&gt;</code></pre>
6161

62-
<div id="clone-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#clone-usage-section">
63-
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#clone-usage"]'>
62+
<div id="clone-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#clone-usage-section">
63+
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#clone-usage"]'>
6464
<h2 class="padding:5px_0px">Usage</h2>
6565
<a class="margin-left:10px display:none" href="#clone-usage"><i class="fas fa-link"></i></a>
6666
</span>
@@ -75,8 +75,8 @@ <h2 class="padding:5px_0px">Usage</h2>
7575
<p class="padding:10px_0px line-height:1.5">This is clone usage</p>
7676
</div>
7777

78-
<div id="clone-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#clone-attributes-section">
79-
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#clone-attributes"]'>
78+
<div id="clone-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#clone-attributes-section">
79+
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#clone-attributes"]'>
8080
<h2 class="padding:5px_0px">Attributes</h2>
8181
<a class="margin-left:10px display:none" href="#clone-attributes"><i class="fas fa-link"></i></a>
8282
</span>
@@ -97,17 +97,17 @@ <h4><span>data-clone</span> <span class="cocreate-badge success">string</span> <
9797

9898
<!-- SandBox -->
9999

100-
<div id="clone-demo" class="border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#clone-demo-section">
101-
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#clone-demo"]'>
100+
<div id="clone-demo" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#clone-demo-section">
101+
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#clone-demo"]'>
102102
<h2 class="padding:5px_0px">Demo</h2>
103103
<a class="margin-left:10px display:none" href="#clone-demo"><i class="fas fa-link"></i></a>
104104
</span>
105105
</div>
106106
<div class="position:sticky top:0 padding:15px_0px height:100vh">
107107
<div class="container svColumn overflow:hidden card border-radius:2px width:auto height:100%" id="form-sandbox">
108108
<div class="font-size:20px position:absolute top:10px right:10px opacity:0.6 z-index:7">
109-
<a class="margin-right:10px" id="preview" data-show="preview" data-hide="code"><i class="far fa-eye"></i></a>
110-
<a class="margin-right:10px hidden" id="code" data-show="code" data-hide="preview"><i class="fas fa-code"></i></a>
109+
<a class="margin-right:10px" id="preview" show="preview" hide="code"><i class="far fa-eye"></i></a>
110+
<a class="margin-right:10px hidden" id="code" show="code" hide="preview"><i class="fas fa-code"></i></a>
111111
<!--<a class="margin-right:10px"><i class="far fa-window-maximize"></i></a>-->
112112
<a target="modal" href="module_activity_datatable.html" pass-collection="modules" pass-document_id="" pass-fetch_value="" pass-prefix="" pass_to="render" modal-width="600px" modal-height="400px" modal-color="#229954"
113113
modal-header="false" class="margin-right:10px">
@@ -127,7 +127,7 @@ <h2 class="padding:5px_0px">Demo</h2>
127127
<div class="svSplitter svHorizontal"> </div>
128128

129129
<div class="svPanel">
130-
<iframe data-get_value="7" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
130+
<iframe get-value="7" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
131131
</div>
132132

133133
</div>

0 commit comments

Comments
 (0)