Is there any pure "view" component which I can set root by clicking a button?


#1

I want to create a page, which I can set root to load a page into a view like ion-nav by clicking a button:

<div (click)="myView.root=Page1">Show Page1</div>
<div (click)="myView.root=Page2">Show Page2</div>
<view #myView [root]="Page1"></view>

is such “view” component exists?