remove unused classes
This commit is contained in:
@@ -25,6 +25,8 @@ export class MenusDemoComponent implements OnInit {
|
||||
|
||||
menuItems: MenuItem[];
|
||||
|
||||
plainMenuItems: MenuItem[];
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
this.tieredItems = [
|
||||
@@ -172,7 +174,7 @@ export class MenusDemoComponent implements OnInit {
|
||||
separator: true
|
||||
},
|
||||
{
|
||||
label: 'Quit', icon: 'pi pi-fw pi-sign-out'
|
||||
label: 'Home', icon: 'pi pi-fw pi-home'
|
||||
},
|
||||
];
|
||||
|
||||
@@ -242,6 +244,36 @@ export class MenusDemoComponent implements OnInit {
|
||||
}
|
||||
];
|
||||
|
||||
this.plainMenuItems = [
|
||||
{
|
||||
label: 'Customers',
|
||||
items: [
|
||||
{
|
||||
label: 'New',
|
||||
icon: 'pi pi-fw pi-plus'
|
||||
},
|
||||
{
|
||||
label: 'Edit',
|
||||
icon: 'pi pi-fw pi-user-edit'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: 'Orders',
|
||||
items: [
|
||||
{
|
||||
label: 'View',
|
||||
icon: 'pi pi-fw pi-list'
|
||||
},
|
||||
{
|
||||
label: 'Search',
|
||||
icon: 'pi pi-fw pi-search'
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
this.breadcrumbItems = [];
|
||||
this.breadcrumbItems.push({ label: 'Electronics' });
|
||||
this.breadcrumbItems.push({ label: 'Computer' });
|
||||
|
||||
Reference in New Issue
Block a user