Reputation: 185
My english is very poor. but how to expand or open p-panelMenu by default
<p-panelMenu [model]="items" id="myPanel" [style]="{'width':'100%'}" [multiple]="true" ></p-panelMenu>
I need this menu is opened by default.
Upvotes: 0
Views: 2191
Reputation: 1454
You can make use of the expanded
attribute
Set expanded: true
in your respective array,
Stackblitz => https://stackblitz.com/edit/primeng-template-px2sek
Upvotes: 4