Created
April 5, 2014 16:55
-
-
Save gsora/9994563 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| function percentageOrNot(onCoverBool) { | |
| if(onCoverBool.valueOf() == true) { | |
| coverPercentageOrNot.text = hunger.bat_cur_pr() | |
| } else { | |
| coverPercentageOrNot.text = hunger.long_text() | |
| } | |
| } | |
| Timer { | |
| //blabla | |
| onTriggered: { | |
| //blabla | |
| coverPage.percentageOrNot(percOnCover) | |
| } | |
| Label { | |
| id: coverPercentageOrNot | |
| // blabla | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment