AnsweredAssumed Answered

How to push a text string in a StackView

Question asked by glalla_uwi2017 on Nov 22, 2018
Latest reply on Nov 22, 2018 by Jayson_Ward-esristaff

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.