was updating theme and noticed this naming problem

Post Reply
Posts: 79
Joined: 03 Mar 2016, 07:26

12 Feb 2018, 20:51

this is on the app.menu.component.ts

line 278 is named this.appMenu but there is no appMenu, the name of the Top Component is AppMenuComponent, not sure is this is suppose to be like this, but i get a build error.

Code: Select all

export class AppMenuComponent implements OnInit, OnDestroy, AfterViewInit {

    @Input() reset: boolean;

    model: any[];

    @ViewChild('layoutMenuScroller') layoutMenuScrollerViewChild: ScrollPanel;

Code: Select all

if (item.items || (!item.url && !item.routerLink)) {
            setTimeout(() => {
            }, 450);

Posts: 603
Joined: 12 Sep 2017, 10:44

20 Feb 2018, 12:59

Please notice that, you need to update
5.0.0 to 5.2.0
Adds support for PrimeNG 5.2.0 (e.g. TurboTable), replaces nanoscroller with PrimeNG ScrollPanel.

Remove nanoscroller as it is replaced by ScrollPanel component of PrimeNG.
Update app.component.ts.
Update app.menu.component.ts and app.menu.component.html.
Update layout css files.
Update theme css files.

Also, does it work when you try it in our sample project?

Post Reply

Return to “Paradise - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest