Call .qml from javascript
-
Is there anyway to call a call a qml file from javascript?
I'm using javascript to sort through the images and I'd like to show the sorted images in a qml
-
what? What kind of manipulation/sorting ?
-
I have a list of say 20 images, I only want 4 shown at a time. So my main qml has a left and right arrow, click right calls my .js loads the next four images. I need the images to be shown in the state. I can't figure out how to get the images in the var to be displayed from my qml
-
Put your javascript logic that populates your controls in the QML source or pass the QML item reference (id) over to your javascript librarys functions as an argument?