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

QML : how to pass javascript function as argument in another function

$
0
0
I have QML code, for example this code http://stackoverflow.com/questions/27945427/qml-how-to-pass-javascript-function-as-argument-in-another-function [stackoverflow.com] in normal javascript this works cool, but when I use this code in QML the bad thing is visitFun always has type of undefined, and it does not work.. any idea how to make this work ?

Viewing all articles
Browse latest Browse all 4972

Trending Articles