Hello
How to use Qt.binding() when the function to wrap has parameters.
In both QML and JS files:
Component.onCompleted: {
color = Qt.binding(function(myValue) {
return my_exposed_cpp_object.my_function((myValue);
});
}
Will this force the reevalution each time myValue changes.
Thanks;
Mut.
Bookmarks