-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
j
- Loading branch information
Showing
37,767 changed files
with
149,045 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import QtQuick 2.0 | ||
import Qt.labs.lottieqt 1.0 | ||
|
||
LottieAnimation { | ||
source: "" | ||
quality: LottieAnimation.MediumQuality | ||
autoPlay: true | ||
loops: LottieAnimation.Infinite | ||
onStatusChanged: { | ||
console.log("Lottie Status changed"); | ||
if (status === LottieAnimation.Ready) { | ||
gotoAndPlay(0); | ||
console.log("Lottie Status Ready"); | ||
} | ||
if (status === LottieAnimation.Error) { | ||
console.log("Lottie Status Error"); | ||
} | ||
if (status === LottieAnimation.Loading) { | ||
console.log("Lottie Status Loading"); | ||
} | ||
} | ||
onFinished: { | ||
console.log("Lottie Finished Playing") | ||
} | ||
} |
Oops, something went wrong.