Skip to content

Commit

Permalink
fix: replace -target -selector
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jun 22, 2023
1 parent 61a7a7e commit 7ba728f
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion demo/CoCreate-navbar.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<div
localstorage-get="user_id"
localstorage-key="userId"
localstorage-target=".avatar-wrapper"></div>
localstorage-selector=".avatar-wrapper"></div>
<div class="avatar-wrapper margin:5px_0px margin-right:10px">
<a
class="avatar round"
Expand Down
2 changes: 1 addition & 1 deletion demo/CoCreate-navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<div
localstorage-get="user_id"
localstorage-key="userId"
localstorage-target=".avatar-wrapper"></div>
localstorage-selector=".avatar-wrapper"></div>
<div class="avatar-wrapper margin:5px_0px margin-right:10px">
<a
class="avatar round"
Expand Down
2 changes: 1 addition & 1 deletion demo/CoCreate-smooth-scroll.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<div
localstorage-get="user_id"
localstorage-key="userId"
localstorage-target=".avatar-wrapper"></div>
localstorage-selector=".avatar-wrapper"></div>
<div class="avatar-wrapper margin:5px_0px margin-right:10px">
<a
class="avatar round"
Expand Down
24 changes: 12 additions & 12 deletions demo/avatar.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
id="menuL"
class="position:fixed top:0px left:0px background:whitesmoke height:100vh width:50px width:300px:hover width:0px@xs"
resizable
resize-target="[content_id='content']"
resize-selector="[content_id='content']"
resize-property="margin-left"
resize-value="width">
<menu
Expand Down Expand Up @@ -80,7 +80,7 @@ <h2>CoCreate-avatar</h2>
share-width="700"
share-media="https://cdn.cocreate.app/docs/boilerplate.png"
hover="display:block!important"
hover-target=".social-networks">
hover-selector=".social-networks">
<div class="display:none social-networks">
<a
class="margin-right:15px"
Expand Down Expand Up @@ -138,11 +138,11 @@ <h2>CoCreate-avatar</h2>
class="margin-top:80px border-bottom:1px_solid_lightgrey"
scroll
scroll-intersect="color:dodgerblue"
scroll-target="#boilerplate-usage-section">
scroll-selector="#boilerplate-usage-section">
<span
class="display:flex align-items:center width:fit-content"
hover="display:block!important"
hover-target="[href='#boilerplate-usage']">
hover-selector="[href='#boilerplate-usage']">
<h2 class="padding:5px_0px">Usage</h2>
<a
class="margin-left:10px display:none"
Expand Down Expand Up @@ -187,11 +187,11 @@ <h2 class="padding:5px_0px">Usage</h2>
class="margin-top:80px border-bottom:1px_solid_lightgrey"
scroll
scroll-intersect="color:dodgerblue"
scroll-target="#boilerplate-attributes-section">
scroll-selector="#boilerplate-attributes-section">
<span
class="display:flex align-items:center width:fit-content"
hover="display:block!important"
hover-target="[href='#boilerplate-attributes']">
hover-selector="[href='#boilerplate-attributes']">
<h2 class="padding:5px_0px">Attributes</h2>
<a
class="margin-left:10px display:none"
Expand Down Expand Up @@ -249,11 +249,11 @@ <h4><span>avatar-label</span></h4>
class="border-bottom:1px_solid_lightgrey"
scroll
scroll-intersect="color:dodgerblue"
scroll-target="#boilerplate-demo-section">
scroll-selector="#boilerplate-demo-section">
<span
class="display:flex align-items:center width:fit-content"
hover="display:block!important"
hover-target="[href='#boilerplate-demo']">
hover-selector="[href='#boilerplate-demo']">
<h2 class="padding:5px_0px">Demo</h2>
<a
class="margin-left:10px display:none"
Expand Down Expand Up @@ -282,7 +282,7 @@ <h2 class="padding:5px_0px">Demo</h2>
name="demo"
save="false"
id="demo"
input-target=".demopreview"
input-selector=".demopreview"
input-attribute="value"
input-events="input, onload"
class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
Expand All @@ -305,7 +305,7 @@ <h2 class="padding:5px_0px">Demo</h2>
show="#eye-slash"
hide="#eye, #demo-preview"
toggle="code-height"
toggle-target="#demo-code"
toggle-selector="#demo-code"
><i
class="height:18px fill:#505050"
src="/assets/svg/eye.svg"></i
Expand All @@ -317,7 +317,7 @@ <h2 class="padding:5px_0px">Demo</h2>
show="#eye, #demo-preview"
hide="#eye-slash"
toggle="code-height"
toggle-target="#demo-code"
toggle-selector="#demo-code"
><i
class="height:20px fill:#505050"
src="/assets/svg/eye-slash.svg"></i
Expand All @@ -344,7 +344,7 @@ <h2 class="padding:5px_0px">Demo</h2>
<a
class="margin-right:5px"
fullscreen
fullscreen-target="#playground"></a>
fullscreen-selector="#playground"></a>
</div>
</div>
<!-- End SandBox -->
Expand Down
24 changes: 12 additions & 12 deletions docs/avatar.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
id="menuL"
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
resizable
resize-target="[content_id='content']"
resize-selector="[content_id='content']"
resize-property="margin-left"
resize-value="width">
<menu
Expand Down Expand Up @@ -88,7 +88,7 @@ <h2>CoCreate-avatar</h2>
share-width="700"
share-media="https://cdn.cocreate.app/docs/boilerplate.png"
hover="display:block!important"
hover-target=".social-networks">
hover-selector=".social-networks">
<div class="display:none social-networks">
<a
class="margin-right:15px"
Expand Down Expand Up @@ -147,11 +147,11 @@ <h2>CoCreate-avatar</h2>
class="margin-top:80px border-bottom:1px_solid_lightgrey"
scroll
scroll-intersect="color:dodgerblue"
scroll-target="#boilerplate-usage-section">
scroll-selector="#boilerplate-usage-section">
<span
class="display:flex align-items:center width:fit-content"
hover="display:block!important"
hover-target="[href='#boilerplate-usage']">
hover-selector="[href='#boilerplate-usage']">
<h2 class="padding:5px_0px">Usage</h2>
<a
class="margin-left:10px display:none"
Expand Down Expand Up @@ -196,11 +196,11 @@ <h2 class="padding:5px_0px">Usage</h2>
class="margin-top:80px border-bottom:1px_solid_lightgrey"
scroll
scroll-intersect="color:dodgerblue"
scroll-target="#boilerplate-attributes-section">
scroll-selector="#boilerplate-attributes-section">
<span
class="display:flex align-items:center width:fit-content"
hover="display:block!important"
hover-target="[href='#boilerplate-attributes']">
hover-selector="[href='#boilerplate-attributes']">
<h2 class="padding:5px_0px">Attributes</h2>
<a
class="margin-left:10px display:none"
Expand Down Expand Up @@ -258,11 +258,11 @@ <h4><span>avatar-label</span></h4>
class="border-bottom:1px_solid_lightgrey"
scroll
scroll-intersect="color:dodgerblue"
scroll-target="#boilerplate-demo-section">
scroll-selector="#boilerplate-demo-section">
<span
class="display:flex align-items:center width:fit-content"
hover="display:block!important"
hover-target="[href='#boilerplate-demo']">
hover-selector="[href='#boilerplate-demo']">
<h2 class="padding:5px_0px">Demo</h2>
<a
class="margin-left:10px display:none"
Expand Down Expand Up @@ -291,7 +291,7 @@ <h2 class="padding:5px_0px">Demo</h2>
name="demo"
save="false"
id="demo"
input-target=".demopreview"
input-selector=".demopreview"
input-attribute="value"
input-events="input, onload"
class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
Expand All @@ -314,7 +314,7 @@ <h2 class="padding:5px_0px">Demo</h2>
show="#eye-slash"
hide="#eye, #demo-preview"
toggle="code-height"
toggle-target="#demo-code"
toggle-selector="#demo-code"
><i
class="height:18px fill:#505050"
src="/assets/svg/eye.svg"></i
Expand All @@ -326,7 +326,7 @@ <h2 class="padding:5px_0px">Demo</h2>
show="#eye, #demo-preview"
hide="#eye-slash"
toggle="code-height"
toggle-target="#demo-code"
toggle-selector="#demo-code"
><i
class="height:20px fill:#505050"
src="/assets/svg/eye-slash.svg"></i
Expand All @@ -353,7 +353,7 @@ <h2 class="padding:5px_0px">Demo</h2>
<a
class="margin-right:5px"
fullscreen
fullscreen-target="#playground"></a>
fullscreen-selector="#playground"></a>
</div>
</div>
<!-- End SandBox -->
Expand Down
24 changes: 12 additions & 12 deletions docs/flip-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
id="menuL"
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
resizable
resize-target="[content_id='content']"
resize-selector="[content_id='content']"
resize-property="margin-left"
resize-value="width">
<menu
Expand Down Expand Up @@ -80,7 +80,7 @@ <h2>CoCreate-flip-item</h2>
share-width="700"
share-media="https://cdn.cocreate.app/docs/boilerplate.png"
hover="display:block!important"
hover-target=".social-networks">
hover-selector=".social-networks">
<div class="display:none social-networks">
<a
class="margin-right:15px"
Expand Down Expand Up @@ -139,11 +139,11 @@ <h2>CoCreate-flip-item</h2>
class="margin-top:80px border-bottom:1px_solid_lightgrey"
scroll
scroll-intersect="color:dodgerblue"
scroll-target="#boilerplate-usage-section">
scroll-selector="#boilerplate-usage-section">
<span
class="display:flex align-items:center width:fit-content"
hover="display:block!important"
hover-target="[href='#boilerplate-usage']">
hover-selector="[href='#boilerplate-usage']">
<h2 class="padding:5px_0px">Usage</h2>
<a
class="margin-left:10px display:none"
Expand Down Expand Up @@ -175,11 +175,11 @@ <h2 class="padding:5px_0px">Usage</h2>
class="margin-top:80px border-bottom:1px_solid_lightgrey"
scroll
scroll-intersect="color:dodgerblue"
scroll-target="#boilerplate-attributes-section">
scroll-selector="#boilerplate-attributes-section">
<span
class="display:flex align-items:center width:fit-content"
hover="display:block!important"
hover-target="[href='#boilerplate-attributes']">
hover-selector="[href='#boilerplate-attributes']">
<h2 class="padding:5px_0px">Attributes</h2>
<a
class="margin-left:10px display:none"
Expand Down Expand Up @@ -228,11 +228,11 @@ <h4>
class="border-bottom:1px_solid_lightgrey"
scroll
scroll-intersect="color:dodgerblue"
scroll-target="#boilerplate-demo-section">
scroll-selector="#boilerplate-demo-section">
<span
class="display:flex align-items:center width:fit-content"
hover="display:block!important"
hover-target="[href='#boilerplate-demo']">
hover-selector="[href='#boilerplate-demo']">
<h2 class="padding:5px_0px">Demo</h2>
<a
class="margin-left:10px display:none"
Expand Down Expand Up @@ -261,7 +261,7 @@ <h2 class="padding:5px_0px">Demo</h2>
name="demo"
save="false"
id="demo"
input-target=".demopreview"
input-selector=".demopreview"
input-attribute="value"
input-events="input, onload"
class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
Expand All @@ -284,7 +284,7 @@ <h2 class="padding:5px_0px">Demo</h2>
show="#eye-slash"
hide="#eye, #demo-preview"
toggle="code-height"
toggle-target="#demo-code"
toggle-selector="#demo-code"
><i
class="height:18px fill:#505050"
src="/assets/svg/eye.svg"></i
Expand All @@ -296,7 +296,7 @@ <h2 class="padding:5px_0px">Demo</h2>
show="#eye, #demo-preview"
hide="#eye-slash"
toggle="code-height"
toggle-target="#demo-code"
toggle-selector="#demo-code"
><i
class="height:20px fill:#505050"
src="/assets/svg/eye-slash.svg"></i
Expand All @@ -323,7 +323,7 @@ <h2 class="padding:5px_0px">Demo</h2>
<a
class="margin-right:5px"
fullscreen
fullscreen-target="#playground"></a>
fullscreen-selector="#playground"></a>
</div>
</div>
<!-- End SandBox -->
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
id="menuL"
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px"
resizable
resize-target="[content_id='content']"
resize-selector="[content_id='content']"
resize-property="margin-left"
resize-value="width"
collection="files"
Expand Down
Loading

0 comments on commit 7ba728f

Please sign in to comment.