Skip to content

Commit b992fb4

Browse files
adds working examples (#18)
1 parent 7bcdb24 commit b992fb4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ See some examples here: https://elm-simple-animation-examples.surge.sh/
88

99
Animate HTML, SVG (or any UI Elements) with declarative animations and transitions
1010

11+
A working example: https://ellie-app.com/d5nyjJY3Ptna1
12+
1113
```elm
1214
import Html exposing (Html)
1315
import Simple.Animation as Animation exposing (Animation)
@@ -45,6 +47,8 @@ When you want some typesafe, simple, decorative animations or transitions, but y
4547

4648
## For Animations:
4749

50+
A working example: https://ellie-app.com/d5nmZJv84f2a1
51+
4852
1 . Define an animation (either `fromTo` or a sequence of `steps`)
4953

5054
```elm
@@ -72,6 +76,8 @@ spinningBox =
7276

7377
## For Transitions
7478

79+
A working example: https://ellie-app.com/d5nxzgtzCpva1
80+
7581
Just add a transition as a Html Attribute
7682

7783
```elm

0 commit comments

Comments
 (0)