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?
Splitbutton can not custom content
-
- Information
-
Who is online
Users browsing this forum: No registered users and 19 guests