Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi, I have declared a function in main.qml, if i want to access the variable inside the function in another qml file, for example access.qml, what should i do?
Hi,
Create a property variable. It will be accessible from JS and QML.
I think you should return variable instead of accessing the variable inside the function.