A structural directive that provides a mechanism for lazily rendering the content for an
ngAccordionPanel.
Description
A structural directive that provides a mechanism for lazily rendering the content for an
ngAccordionPanel.
This directive should be applied to an ng-template inside an ngAccordionPanel.
It allows the content of the panel to be lazily rendered, improving performance
by only creating the content when the panel is first expanded.
<div ngAccordionPanel panelId="unique-id-1"> <ng-template ngAccordionContent> <p>This is the content that will be displayed inside the panel.</p> </ng-template></div>
Jump to details