Splitbutton can not custom content

UI Components for Angular
Post Reply
harrykuto
Posts: 1
Joined: 14 Feb 2023, 12:23

14 Feb 2023, 12:38

Follow the instruction of primeng to custom content of splitbutton but no luck.
<p-splitButton label="Normal" styleClass="bg-primary" [model]="this.items">
<ng-template pTemplate="content">
<img alt="logo" src="https://primefaces.org/cdn/primeng/imag ... g-icon.svg" style="width: 1rem" />
<span class="ml-2 flex align-items-center font-bold">PrimeNG</span>
</ng-template>
</p-splitButton>
Is there anyone can help me?

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 19 guests