From 324b5d0a026acc5b22788271e1d48d779cd9bf8e Mon Sep 17 00:00:00 2001 From: Suraj Tibrewal <106139266+Surajtibrewal@users.noreply.github.com> Date: Fri, 13 Oct 2023 13:18:09 +0530 Subject: [PATCH] Update tieredmenudemo.html Correction done for the closing curly brackets in the showcase under 'Source' tab. --- .../components/tieredmenu/tieredmenudemo.html | 224 +++++++++--------- 1 file changed, 110 insertions(+), 114 deletions(-) diff --git a/src/app/showcase/components/tieredmenu/tieredmenudemo.html b/src/app/showcase/components/tieredmenu/tieredmenudemo.html index 2e3e96faf40..cea48f327e9 100755 --- a/src/app/showcase/components/tieredmenu/tieredmenudemo.html +++ b/src/app/showcase/components/tieredmenu/tieredmenudemo.html @@ -276,144 +276,140 @@
Dependencies
-export class TieredMenuDemo { - - items: MenuItem[]; - - ngOnInit() { - this.items = [ - { - label:'File', - icon:'pi pi-fw pi-file', - items:[ + export class TieredMenuDemo { + + items: MenuItem[]; + + ngOnInit() { + this.items = [ { - label:'New', - icon:'pi pi-fw pi-plus', + label:'File', + icon:'pi pi-fw pi-file', items:[ { - label:'Bookmark', - icon:'pi pi-fw pi-bookmark' - {, + label:'New', + icon:'pi pi-fw pi-plus', + items:[ + { + label:'Bookmark', + icon:'pi pi-fw pi-bookmark' + }, + { + label:'Video', + icon:'pi pi-fw pi-video' + } + ] + }, { - label:'Video', - icon:'pi pi-fw pi-video' - {, - + label:'Delete', + icon:'pi pi-fw pi-trash' + }, + { + separator:true + }, + { + label:'Export', + icon:'pi pi-fw pi-external-link' + } ] - {, + }, { - label:'Delete', - icon:'pi pi-fw pi-trash' - {, - { - separator:true - {, - { - label:'Export', - icon:'pi pi-fw pi-external-link' - { - ] - {, - { - label:'Edit', - icon:'pi pi-fw pi-pencil', - items:[ - { - label:'Left', - icon:'pi pi-fw pi-align-left' - {, - { - label:'Right', - icon:'pi pi-fw pi-align-right' - {, - { - label:'Center', - icon:'pi pi-fw pi-align-center' - {, - { - label:'Justify', - icon:'pi pi-fw pi-align-justify' - {, - - ] - {, - { - label:'Users', - icon:'pi pi-fw pi-user', - items:[ - { - label:'New', - icon:'pi pi-fw pi-user-plus', - - {, - { - label:'Delete', - icon:'pi pi-fw pi-user-minus', - - {, - { - label:'Search', - icon:'pi pi-fw pi-users', + label:'Edit', + icon:'pi pi-fw pi-pencil', items:[ { - label:'Filter', - icon:'pi pi-fw pi-filter', - items:[ - { - label:'Print', - icon:'pi pi-fw pi-print' - { - ] - {, + label:'Left', + icon:'pi pi-fw pi-align-left' + }, { - icon:'pi pi-fw pi-bars', - label:'List' + label:'Right', + icon:'pi pi-fw pi-align-right' + }, { + label:'Center', + icon:'pi pi-fw pi-align-center' + }, + { + label:'Justify', + icon:'pi pi-fw pi-align-justify' + }, ] + }, { - ] - {, - { - label:'Events', - icon:'pi pi-fw pi-calendar', - items:[ - { - label:'Edit', - icon:'pi pi-fw pi-pencil', + label:'Users', + icon:'pi pi-fw pi-user', items:[ { - label:'Save', - icon:'pi pi-fw pi-calendar-plus' - {, + label:'New', + icon:'pi pi-fw pi-user-plus', + }, { - label:'Delete', - icon:'pi pi-fw pi-calendar-minus' - {, - + label:'Delete', + icon:'pi pi-fw pi-user-minus', + }, + { + label:'Search', + icon:'pi pi-fw pi-users', + items:[ + { + label:'Filter', + icon:'pi pi-fw pi-filter', + items:[ + { + label:'Print', + icon:'pi pi-fw pi-print' + } + ] + }, + { + icon:'pi pi-fw pi-bars', + label:'List' + } + ] + } ] - {, + }, { - label:'Archieve', - icon:'pi pi-fw pi-calendar-times', + label:'Events', + icon:'pi pi-fw pi-calendar', items:[ { - label:'Remove', - icon:'pi pi-fw pi-calendar-minus' + label:'Edit', + icon:'pi pi-fw pi-pencil', + items:[ + { + label:'Save', + icon:'pi pi-fw pi-calendar-plus' + }, + { + label:'Delete', + icon:'pi pi-fw pi-calendar-minus' + }, + + ] + }, { + label:'Archieve', + icon:'pi pi-fw pi-calendar-times', + items:[ + { + label:'Remove', + icon:'pi pi-fw pi-calendar-minus' + } + ] + } ] + }, { + separator:true + }, + { + label:'Quit', + icon:'pi pi-fw pi-power-off' + } ] - {, - { - separator:true - {, - { - label:'Quit', - icon:'pi pi-fw pi-power-off' - { - ] + } } -}