Skip to content

Commit bbb2b26

Browse files
committed
README Formatting
1 parent edc9d42 commit bbb2b26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ This plugin works by detecting events relative to the current scene, and invokin
7272
a function which builds commands to play when the event is triggered.
7373

7474
**Events (occurs when you...)**
75+
7576
- `after`: go from inside the scene to AFTER, or if you land on the page AFTER the scene.
7677
- `fromAfter`: go from AFTER the scene to anywhere else
7778
- `before`: go from inside the scene to BEFORE or if you land on the page BEFORE the scene.
@@ -93,16 +94,19 @@ You can listen for events by using the event name as a function and passing a fu
9394
- `transition`: animate when from one state to another - the events above use this function
9495

9596
**Build Commands**
97+
9698
- `animator( subject or query, function which makes animator calls )`
9799
- `animators( subjects or query, function which makes animators calls )`
98100
- `movie( movie, function which makes movie player calls )`
99101
- `player( player, function which makes movie player calls )`
100102

101103
**Quick Animate**
104+
102105
This allows you to add animations in a shorthand manner:
103106
- `animate( event, build, subject, subject method, subject arguments... )`
104107

105108
**Backwards**
109+
106110
ScrollMagic works by having the user scroll down or to the right of a page. If
107111
you set a scene to backwards with `setBackwards( true )` then the BEFORE/AFTER and
108112
progress through a scene is swapped for anim8js functions. This allows you to have

0 commit comments

Comments
 (0)