how to push a url with properties in stackview
-
I found this in help:
**Pushing a single item:stackView.push(rect)
// or with properties:
stackView.push(rect, {"color": "red"})**but how to push a url with properties in stackview? thanks~
-
This is one way of doing it:
stackView.push(Qt.resolvedUrl("MyPage.qml"), {"color": "red"})
-