Skip to content

Commit

Permalink
Enhancement, looping: Update documentation about the loop types avail…
Browse files Browse the repository at this point in the history
…able
  • Loading branch information
Kingtak Justin Wong committed May 15, 2019
1 parent 1aae0dc commit 387f6bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,10 @@ var AnimationView.loopMode: LottieLoopMode { get set }
Sets the loop behavior for `play` calls. Defaults to `playOnce`
Options:
: **playOnce**: Animation is played once then stops.
: **loop**: Animation will loop from end to beginning until stopped.
: **infinite**: Animation will loop from end to beginning until stopped.
: **autoReverse**: Animation will play forward, then backwards and loop until stopped.
: **loop(amount)**: Animation will loop from end to beginning up to *amount* of times.
: **loopBackwards(amount)**: Animation will play forward, then backwards a *amount* of times.
#
#### Is Animation Playing
```swift
Expand Down

0 comments on commit 387f6bb

Please sign in to comment.