Monday, August 15, 2022
HomeSoftware DevelopmentAngular PrimeNG Introduction - GeeksforGeeks

Angular PrimeNG Introduction – GeeksforGeeks

[ad_1]

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

import { MenuItem } from "primeng/api";

  

@Element({

  selector: "app-root",

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

            objects: [

              {

                label: "Angular",

              },

              {

                label: "React",

              },

              {

                label: "FabricJS",

              },

              {

                label: "VueJS",

              },

            ],

          },

          {

            label: "PHP",

          },

          {

            label: "Database Administration System",

          },

        ],

      },

      {

        label: "Knowledge Buildings",

  

        objects: [

          {

            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]

RELATED ARTICLES

Most Popular

Recent Comments