Angular PrimeNG Introduction – GeeksforGeeks


import Component from "@angular/core";

import MenuItem from "primeng/api";

  

@Component(

  selector: "app-root",

  templateUrl: "./app.component.html",

)

export class AppComponent {

  gfg: MenuItem[];

  

  ngOnInit()

    this.gfg = [

      

        label: "Web Technology",

        items: [

          

            label: "HTML",

          ,

          

            label: "CSS",

            items: [

              

                label: "Pure CSS",

              ,

              

                label: "Bulma CSS",

              ,

              

                label: "Foundation CSS",

              ,

              

                label: "Semantic UI",

              ,

            ],

          ,

          

            label: "Javascript",

            items: [

              

                label: "Angular",

              ,

              

                label: "React",

              ,

              

                label: "FabricJS",

              ,

              

                label: "VueJS",

              ,

            ],

          ,

          

            label: "PHP",

          ,

          

            label: "Database Management System",

          ,

        ],

      ,

      

        label: "Data Structures",

  

        items: [

          

            label: "Linked List",

            items: [

              

                label: "Singly Linked List",

              ,

              

                label: "Doublly Linked List",

              ,

              

                label: "Circular Linked List",

              ,

            ],

          ,

          

            label: "Stack",

          ,

          

            label: "Queue",

          ,

          

            label: "Tree",

          ,

          

            label: "Graph",

          ,

          

            label: "Heap",

          ,

        ],

      ,

    ];

  

}



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Article

WHY THEY PUT A GREAT TRACK AT THE BEGINNING OF A CD OR LP AND NOT A DUFF ONE

Next Article

NASA’s SpaceX Crew-3 Splashes Down

Related Posts