update router

This commit is contained in:
Çetin
2021-12-23 17:27:15 +03:00
parent 5ca76d76bc
commit 41a20dee68
3 changed files with 31 additions and 10 deletions
+3 -1
View File
@@ -23,7 +23,8 @@
<div class="col-12 md:col-6">
<div class="card card-w-title">
<h5>Steps</h5>
<p-steps [model]="routeItems" [readonly]="false" (activeIndexChange)="pageIndex = $event" [activeIndex]="pageIndex"></p-steps>
<p>Steps and TabMenu are integrated with the same child routes.</p>
<p-steps [model]="routeItems" [readonly]="false"></p-steps>
<router-outlet></router-outlet>
</div>
</div>
@@ -31,6 +32,7 @@
<div class="col-12 md:col-6">
<div class="card card-w-title">
<h5>TabMenu</h5>
<p>Steps and TabMenu are integrated with the same child routes.</p>
<p-tabMenu [model]="routeItems"></p-tabMenu>
<router-outlet></router-outlet>
</div>