@@ -44,12 +44,19 @@ <h2>CoCreate-conditional-logic</h2>
4444 < p class ="max-width:500px margin:20px_0px "> Show or Hide html elements triggered by a click or change action.</ p >
4545 < div id ="conditional-logic-section " class ="display:flex flex-wrap:wrap ">
4646 < div class ="flex-grow:1 width:300px padding:0px_10px margin:20px_0px ">
47- < h2 class ="border-bottom:1px_solid_lightgrey padding:5px_0px "> Install</ h2 >
47+
48+ < div >
49+ < h2 id ="conditional-logic-installation " data-hover ="display:block " data-target ="" class ="border-bottom:1px_solid_lightgrey padding:5px_0px "> Install</ h2 >
50+ < a class ="display:none " href ="#conditional-logic-installation "> < i class ="fas fa-link "> </ i > </ a >
51+ </ div >
4852 < pre > < code class ="language-javascript "> npm install @cocreate/conditional-logic</ code > </ pre >
4953 < p class ="padding:10px_0px "> Or you can use cdn link:</ p >
5054 < pre > < code class ="language-javascript "> https://cdn.cocreate.app/latest/cocreate.min.js</ code > </ pre >
5155
52- < h2 class ="border-bottom:1px_solid_lightgrey margin-top:80px padding:5px_0px "> Usage</ h2 >
56+ < div >
57+ < h2 id ="conditional-logic-usage " data-hover ="display:block " data-target ="" class ="border-bottom:1px_solid_lightgrey padding:5px_0px "> Usage</ h2 >
58+ < a class ="display:none " href ="#conditional-logic-usage "> < i class ="fas fa-link "> </ i > </ a >
59+ </ div >
5360 < div class ="">
5461 < p class ="padding:10px_0px "> This is conditional-logic reference</ p >
5562
@@ -67,7 +74,11 @@ <h2 class="border-bottom:1px_solid_lightgrey margin-top:80px padding:5px_0px">Us
6774 </ div >
6875 < p class ="padding:10px_0px "> This is conditional-logic reference</ p >
6976 </ div >
70- < h2 class ="border-bottom:1px_solid_lightgrey padding:5px_0px "> Attributes</ h2 >
77+
78+ < div >
79+ < h2 id ="conditional-logic-attributes " data-hover ="display:block " data-target ="" class ="border-bottom:1px_solid_lightgrey padding:5px_0px "> Attributes</ h2 >
80+ < a class ="display:none " href ="#conditional-logic-attributes "> < i class ="fas fa-link "> </ i > </ a >
81+ </ div >
7182 < ul class ="list-style-type:none ">
7283 < li class ="padding:15px_0px border-bottom:1px_solid_lightgrey ">
7384 < h4 > < span > data-show</ span > < span class ="cocreate-badge success "> string</ span > < span class ="cocreate-badge warning "> optional</ span > </ h4 >
@@ -81,8 +92,12 @@ <h4><span>data-hide</span> <span class="cocreate-badge success">string</span> <s
8192 </ div >
8293
8394 < div class ="flex-grow:1 width:300px padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey ">
95+
8496 <!-- SandBox -->
85- < h2 class ="border-bottom:1px_solid_lightgrey padding:5px_0px "> Demo</ h2 >
97+ < div >
98+ < h2 id ="conditional-logic-demo " data-hover ="display:block " data-target ="" class ="border-bottom:1px_solid_lightgrey padding:5px_0px "> Demo</ h2 >
99+ < a class ="display:none " href ="#conditional-logic-demo "> < i class ="fas fa-link "> </ i > </ a >
100+ </ div >
86101 < div class ="position:sticky top:0 padding:15px_0px height:100vh ">
87102 < div class ="container svColumn overflow:hidden card border-radius:2px width:auto height:100% " id ="form-sandbox ">
88103 < div class ="font-size:20px position:absolute top:10px right:10px opacity:0.6 z-index:7 ">
0 commit comments