Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Question about order of execution by property change.

$
0
0
For me it would be C to A, b.propX turns to false so it triggers doWhatever() which is topmost Item then triggers doAnything() and finally doSomething since it comes after b.propX = false. To make sure you could have your functions as followed : function doSomething() {     console.log( "doSomething" ) }   function doAnything() {     console.log( "doAnything" ) }   function doWhatever() {     console.log( "doWhatever" ) } This way you can actually see what is the order and if it is always the same

Viewing all articles
Browse latest Browse all 4972

Trending Articles