18.2 C
New York
Wednesday, May 28, 2025

Angular PrimeNG Introduction – GeeksforGeeks

Share To Your Friends

[ad_1]

import { Element } from "@angular/core";

import { MenuItem } from "primeng/api";

  

@Element({

  selector: "app-root",

  templateUrl: "./app.element.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",

            gadgets: [

              {

                label: "Angular",

              },

              {

                label: "React",

              },

              {

                label: "FabricJS",

              },

              {

                label: "VueJS",

              },

            ],

          },

          {

            label: "PHP",

          },

          {

            label: "Database Administration System",

          },

        ],

      },

      {

        label: "Information Constructions",

  

        gadgets: [

          {

            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",

          },

        ],

      },

    ];

  }

}

[ad_2]


Share To Your Friends

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles