@@ -291,7 +291,7 @@ Use `pos1` and `pos2` to specify the anchor point on the snapped elements.
291
291
292
292
---
293
293
294
- # Demo: Animated arrows
294
+ # Demo: animated arrows
295
295
296
296
<img v-click =" 1 " src =" https://sli.dev/logo.svg " w-10 id =" slidev-logo " absolute top-25 left-25 v-motion :initial =" {x: -80, y: -80} " :enter =" {x: 0, y: 0} " />
297
297
<img v-click =" 1 " src =" https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/1280px_Markdown_with_White_Background.png/640px-1280px_Markdown_with_White_Background.png " w-15 id =" markdown-mark " absolute top-30 right-30 v-motion :initial =" {x: +80, y: -80} " :enter =" {x: 0, y: 0} " />
@@ -307,7 +307,7 @@ Use `pos1` and `pos2` to specify the anchor point on the snapped elements.
307
307
308
308
---
309
309
310
- ### Snapped to animated elements
310
+ # Demo: arrows snapped to animated elements
311
311
312
312
<div v-click p-8 >
313
313
<span id="foo">Foo</span>
@@ -329,33 +329,3 @@ Use `pos1` and `pos2` to specify the anchor point on the snapped elements.
329
329
<FancyArrow v-click =" 2 " forward:delay-100 id1 =" bar " pos1 =" bottomright " id2 =" baz " pos2 =" topright " color =" green " width =" 2 " arc =" 0.3 " seed =" 1 " roughness =" 2 " >
330
330
<span text-green v-mark.green="2">Hola!</span>
331
331
</FancyArrow >
332
- ---
333
-
334
- # Demo
335
-
336
- <div id =" block1 " >Block 1</div >
337
-
338
- <div v-click >
339
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
340
- <br />
341
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
342
- <br />
343
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
344
- <br />
345
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
346
- <br />
347
- </div >
348
-
349
- <div id =" block2 " :class =" $clicks === 0 ? 'translate-y--32' : '' " >Block 2</div >
350
-
351
- <FancyArrow x1 =" 10 " y1 =" 20 " x2 =" 100 " y2 =" 200 " color =" green " width =" 3 " />
352
-
353
- <FancyArrow id1 =" block1 " pos1 =" bottomleft " id2 =" block2 " pos2 =" topleft " color =" red " width =" 3 " />
354
-
355
- <FancyArrow id1 =" block1 " pos1 =" bottom " id2 =" block2 " pos2 =" top " color =" red " width =" 3 " twoWay />
356
-
357
- <FancyArrow id1 =" block1 " pos1 =" bottomright " id2 =" block2 " pos2 =" topright " color =" red " width =" 3 " twoWay arc =" 0.5 " arrowHeadType =" polygon " arrowHeadSize =" 30 " />
358
-
359
- ---
360
-
361
- # Next page
0 commit comments