Skip to content

Commit 1671348

Browse files
authored
Fix readme about animation (#250)
* Update README.md about animation * Add changeset
1 parent 91b098c commit 1671348

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.changeset/four-flowers-teach.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"slidev-addon-fancy-arrow": patch
3+
---
4+
5+
Fix README.md about animation

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,19 @@ See also: https://sli.dev/guide/theme-addon#use-addon
6868

6969
#### Animation
7070

71+
##### Animation properties
72+
7173
```html
7274
<FancyArrow
7375
from="(100, 200)"
7476
to="(300, 400)"
75-
animated
7677
animation-duration="1000"
7778
animation-delay="500"
7879
/>
7980
```
81+
82+
##### Disable animation
83+
84+
```html
85+
<FancyArrow from="(100, 200)" to="(300, 400)" static />
86+
```

0 commit comments

Comments
 (0)