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.
I'm looking at the samples of panel bar for Angular 2, I would like to set the orientation horizontal instead of vertical, I tried using the attribute orientation="horizontal", it does not seem to work, can you please advise ? Thanx
Right now only one Item can be the currently selected item in a panel bar even if multiple are open. I suggest that we can set multiple selected items (more than one opened panel can have the selected class injected onto the header) One possible way this could be achieved is setting the selected attribute to True, and letting the developer deal with toggling the booleans on his end. (As of now, the panel bar will override the selected values as soon as one panel is selected)