Hello!
I have my base navigation, which for design purposes I want to remain as navigationMode Tabs, however I have several ‘subpages’ which i want to push onto my stack, but are not listed on my tab navigation. For example my navigation is:
Navigation {
id: navigationRoot; navigationMode: navigationModeTabs
NavigationItem {
icon: IconType.compass; title: "Explore"
NavigationStack {HomePage { } }
}
NavigationItem {
icon: IconType.group; title: "Collaborate"
NavigationStack { Collaborate { } }
}
NavigationItem {
icon: IconType.cameraretro; title: "Post"
NavigationStack { PostPage { } }
}
NavigationItem {
icon: IconType.paintbrush; title: "Studio"
NavigationStack { Create { } }
}
NavigationItem {
icon: IconType.book; title: "Organise"
NavigationStack { Organise { } }
}
NavigationItem {icon: IconType.ellipsisv; title: "More"}
}
However I have several other pages which are ‘nested’ within these – Some of which I am using as modals. regardless, of this.
What i am looking to do is ‘push’ other pages outside of this to my stack, however when i try to call stack.push(<page-name>) if they aren’t within my base navigation it fails
My question is: How can I push a <page>.qml to my navigation without it being on my nagivationStack/bar?