Skip to content

Commit efca4dc

Browse files
committed
fix: replace -target -selector
1 parent d28fb9c commit efca4dc

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<div
2222
localstorage-get="user_id"
2323
localstorage-key="userId"
24-
localstorage-target=".avatar-wrapper"></div>
24+
localstorage-selector=".avatar-wrapper"></div>
2525
<div class="avatar-wrapper margin:5px_0px margin-right:10px">
2626
<a
2727
class="avatar round"

docs/index.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
id="menuL"
4747
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
4848
resizable
49-
resize-target="[content_id='content']"
49+
resize-selector="[content_id='content']"
5050
resize-property="margin-left"
5151
resize-value="width">
5252
<menu
@@ -75,7 +75,7 @@ <h2>CoCreate-parallax</h2>
7575
share-width="700"
7676
share-media="https://cdn.cocreate.app/docs/parallax.png"
7777
hover="display:block!important"
78-
hover-target=".social-networks">
78+
hover-selector=".social-networks">
7979
<div class="display:none social-networks">
8080
<a
8181
class="margin-right:15px"
@@ -135,11 +135,11 @@ <h2>CoCreate-parallax</h2>
135135
class="border-bottom:1px_solid_lightgrey"
136136
scroll
137137
scroll-intersect="color:dodgerblue"
138-
scroll-target="#parallax-install-section">
138+
scroll-selector="#parallax-install-section">
139139
<span
140140
class="display:flex align-items:center width:fit-content"
141141
hover="display:block!important"
142-
hover-target="[href='#parallax-install']">
142+
hover-selector="[href='#parallax-install']">
143143
<h2 class="padding:5px_0px">Install</h2>
144144
<a
145145
class="margin-left:10px display:none"
@@ -161,11 +161,11 @@ <h2 class="padding:5px_0px">Install</h2>
161161
class="margin-top:80px border-bottom:1px_solid_lightgrey"
162162
scroll
163163
scroll-intersect="color:dodgerblue"
164-
scroll-target="#parallax-usage-section">
164+
scroll-selector="#parallax-usage-section">
165165
<span
166166
class="display:flex align-items:center width:fit-content"
167167
hover="display:block!important"
168-
hover-target="[href='#parallax-usage']">
168+
hover-selector="[href='#parallax-usage']">
169169
<h2 class="padding:5px_0px">Usage</h2>
170170
<a
171171
class="margin-left:10px display:none"
@@ -196,11 +196,11 @@ <h2 class="padding:5px_0px">Usage</h2>
196196
class="margin-top:80px border-bottom:1px_solid_lightgrey"
197197
scroll
198198
scroll-intersect="color:dodgerblue"
199-
scroll-target="#parallax-attributes-section">
199+
scroll-selector="#parallax-attributes-section">
200200
<span
201201
class="display:flex align-items:center width:fit-content"
202202
hover="display:block!important"
203-
hover-target="[href='#parallax-attributes']">
203+
hover-selector="[href='#parallax-attributes']">
204204
<h2 class="padding:5px_0px">Attributes</h2>
205205
<a
206206
class="margin-left:10px display:none"
@@ -249,11 +249,11 @@ <h4>
249249
class="border-bottom:1px_solid_lightgrey"
250250
scroll
251251
scroll-intersect="color:dodgerblue"
252-
scroll-target="#parallax-demo-section">
252+
scroll-selector="#parallax-demo-section">
253253
<span
254254
class="display:flex align-items:center width:fit-content"
255255
hover="display:block!important"
256-
hover-target="[href='#parallax-demo']">
256+
hover-selector="[href='#parallax-demo']">
257257
<h2 class="padding:5px_0px">Demo</h2>
258258
<a
259259
class="margin-left:10px display:none"
@@ -302,7 +302,7 @@ <h2 class="padding:5px_0px">Demo</h2>
302302
show="#eye-slash"
303303
hide="#eye, #demo-preview"
304304
toggle="code-height"
305-
toggle-target="#demo-code"
305+
toggle-selector="#demo-code"
306306
><i
307307
class="height:18px fill:#505050"
308308
src="/assets/svg/eye.svg"></i
@@ -314,7 +314,7 @@ <h2 class="padding:5px_0px">Demo</h2>
314314
show="#eye, #demo-preview"
315315
hide="#eye-slash"
316316
toggle="code-height"
317-
toggle-target="#demo-code"
317+
toggle-selector="#demo-code"
318318
><i
319319
class="height:20px fill:#505050"
320320
src="/assets/svg/eye-slash.svg"></i
@@ -341,7 +341,7 @@ <h2 class="padding:5px_0px">Demo</h2>
341341
<a
342342
class="margin-right:5px"
343343
fullscreen
344-
fullscreen-target="#playground"></a>
344+
fullscreen-selector="#playground"></a>
345345
</div>
346346
</div>
347347
<!-- End SandBox -->

0 commit comments

Comments
 (0)