Skip to content

Commit 772fa89

Browse files
authored
Merge pull request #7 from SilverFox70/feature/playSegments
Feature/play segments
2 parents 795f862 + b92078d commit 772fa89

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export default class Lottie extends React.Component {
4141
if (this.options.goToAndStop) {
4242
this.goToAndStop();
4343
}
44-
44+
if (this.options.playSegments) {
45+
this.playSegments();
46+
}
4547
this.registerEvents(eventListeners);
4648
}
4749

0 commit comments

Comments
 (0)