Pending Review
Last Updated: 01 Aug 2017 07:12 by ADMIN
Gary
Created on: 14 Jul 2017 21:27
Category: PanelBar
Type: Feature Request
3
Custom Template for PanelBar
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 (https://ng-bootstrap.github.io/#/components/accordion/examples):

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

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.
0 comments