update steps and tabmenu
This commit is contained in:
@@ -13,7 +13,7 @@ export class MenusDemoComponent implements OnInit {
|
||||
|
||||
items: MenuItem[];
|
||||
|
||||
tabMenuItems: MenuItem[];
|
||||
routeItems: MenuItem[];
|
||||
|
||||
megaMenuItems: MegaMenuItem[];
|
||||
|
||||
@@ -27,6 +27,8 @@ export class MenusDemoComponent implements OnInit {
|
||||
|
||||
plainMenuItems: MenuItem[];
|
||||
|
||||
pageIndex: number = 0;
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
this.tieredItems = [
|
||||
@@ -282,11 +284,11 @@ export class MenusDemoComponent implements OnInit {
|
||||
this.breadcrumbItems.push({ label: 'Backpacks' });
|
||||
this.breadcrumbItems.push({ label: 'Item' });
|
||||
|
||||
this.tabMenuItems = [
|
||||
{label: 'Personal'},
|
||||
{label: 'Seat'},
|
||||
{label: 'Payment'},
|
||||
{label: 'Confirmation'}
|
||||
this.routeItems = [
|
||||
{label: 'Personal',routerLink:''},
|
||||
{label: 'Seat', routerLink:'seat'},
|
||||
{label: 'Payment', routerLink:'payment'},
|
||||
{label: 'Confirmation', routerLink:'confirmation'},
|
||||
];
|
||||
|
||||
this.megaMenuItems = [
|
||||
@@ -466,21 +468,6 @@ export class MenusDemoComponent implements OnInit {
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
this.stepsItems = [
|
||||
{
|
||||
label: 'Personal'
|
||||
},
|
||||
{
|
||||
label: 'Seat'
|
||||
},
|
||||
{
|
||||
label: 'Payment'
|
||||
},
|
||||
{
|
||||
label: 'Confirmation'
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user