Execute javascript function in 'State'
-
e.g. I have a widget which has some 'State's.
When the State changes I will call the js function, but how?
@
function returnTrue() {
return true;
}
// ...
State {
name: "..."
// How can I call the js function 'returnTrue()' ?
}
@ -
-
[quote author="komar_rus" date="1293379905"]http://doc.qt.nokia.com/4.7/qml-statechangescript.html[/quote]
Please always put the links using link icon .
-
"Please look here":http://doc.qt.nokia.com/4.7/qml-statechangescript.html