Reputation: 193
I want to have a button like below.
When I use the PrimeNG split-button this is what I get
How can I change that to the button like in the first image? and I want to use it in a table
Upvotes: 1
Views: 3022
Reputation: 6655
Maybe you can use PrimeNG menu to do that:
<button type="button" pButton pRipple icon="pi pi-plus" (click)="menu.toggle($event)"></button>
<p-menu #menu [popup]="true" [model]="items"></p-menu>
See stackblitz
Upvotes: 2