Accordion Component
Directives :
Directive | Selector | Description |
---|---|---|
NgbAccordion | ngb-accordion |
The NgbAccordion directive is a collection of panels. It can assure that only one panel can be opened at a time. |
NgbPanel | ngb-panel |
The NgbPanel directive represents an individual panel with the title and collapsible content |
NgbPanelTitle | ng-template[ngbPanelTitle] |
This directive should be used to wrap accordion panel titles that need to contain HTML markup or other directives. |
NgbPanelContent | ng-template[ngbPanelContent] |
This directive must be used to wrap accordion panel content. |
Refer following links for usage:
Type | URL |
---|---|
NG-Bootstrap Page | https://ng-bootstrap.github.io/#/components/accordion |
Bootstrap Page | https://getbootstrap.com/docs/4.0/components/collapse/ |
Template Page | https://demos.pixinvent.com/apex-angular-admin-template/demo-1/components/accordion |