SplitButton

SplitButton groups a set of commands in an overlay with a default action item.


import { SplitButtonModule } from 'primeng/splitbutton';

SplitButton has a default action button and a collection of additional options defined by the model property based on MenuModel API.


<p-splitbutton label="Save" (onClick)="save()" [model]="items" />

The buttons and menuitems have support to display icons.