Last Updated: 01 Apr 2021 07:02 by ADMIN
Created by: Gary
Comments: 1
Category: PanelBar
Type: Feature Request
I'd like to be able to create a custom template for the PanelBar control's header (the actual bar portion) kind of like what I can do with the ngb-accordion control (

<ngb-accordion [closeOthers]="true">
	<ngb-panel *ngFor="let something of somethings">
		<ng-template ngbPanelTitle>
			Custom header content
		<ng-template ngbPanelContent>
			Some custom content

There's lots of content I would like to be able to include beyond just a simple icons and simple text. I might need links with ties to analytics to track expansion or maybe a "new" and/or "draft" icon positioned to the right of the text to indicate that it's a new item or a draft item, etc.