Skip to content

Feature: Enable nesting page router outlets #1351

Closed
@MartoYankov

Description

@MartoYankov

With nativescript-angular 6.0 we will enable sibling named page-router-outlet at root level to enable the scenario with root TabView with navigations inside the tabs. This scenario is demonstrated in the template - https://github.com/NativeScript/template-tab-navigation-ng.

We would like to also support nested sibling named page-router-outlet. This will enable more scenarios with PROs that are now only possible with NG . Here are two scenarios:

  1. Having a root page-router-outlet (PRO) that initially navigates to a Login page and upon login, navigates to a TabView with nested PRO navigations:
  • PRO
    • Login
    • Tabs
      • PRO: Tab 1 Master --> Tab 1 Detail
      • PRO: Tab 2 Master --> Tab 2 Detail
  1. Having a root RadSideDrawer that can switch between regular pages and TabView with nested PRO navigations:
  • RadSideDrawer
    • PRO
      • Page 1 Master --> Page 2 Detail
      • Tabs
        • PRO: Tab 1 Master --> Tab 1 Detail
        • PRO: Tab 2 Master --> Tab 2 Detail

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions