Unsolved Repeater-like item for non-Items
-
Hi.
According to docs, one cannot repeat non-items in repeater.
Is there a way to repeat a non-item at all?
Actually I want to do something like this:property var ys: [ ... ] // list of y positions SequentialAnimation { RepeaterLikeItem { // <--- model: ys.length NumberAnimation { target: mouseCursor; property: "y"; duration: 500; to: ys[model.index] } // model.index = [0, 1, ... ] PauseAnimation { duration: 100 } ScriptAction { script: mouseCursor.itemClicked(model.index) } // some user defined action } }
I want to repeat { NumberAnimation, PauseAnimation and ScriptAction } block.
Note onmodel.index
usage.