Use the fragment with a routerLink in a menu item

UI Components for Angular
Post Reply
dlast
Posts: 3
Joined: 15 Jan 2018, 17:50

15 Jan 2018, 17:58

Hi, I would like to create a menu item with a link like:

Code: Select all

<a [routerLink]="['/component']" fragment="fragment_id">Display component and scroll to #fragment_id</a>
Is that possible? In the menu item properties I see just routerLink but nothing related to the fragment.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 31 guests