Good Day,
I understand that a page in stackview can be pushed by the code below for example:
StackView {
id: stackView
anchors.fill: parent
initialItem: startPage
}
Component {
id: startPage
StartPage {
onNext: {
stackView.push (page2);
} etc.
How can a text string be pushed in stackview from one page to another? Thank you.