AccordionContent
디렉티브
ngAccordionPanel의 컨텐츠를 지연 렌더링하는 방법을 제공하는 구조 디렉티브입니다.
설명
ngAccordionPanel의 컨텐츠를 지연 렌더링하는 방법을 제공하는 구조 디렉티브입니다.
이 디렉티브는 ngAccordionPanel 안의 ng-template에 적용해야 합니다.
패널이 처음 펼쳐질 때만 컨텐츠를 생성하도록 지연 렌더링하여 성능을 개선합니다.
<div ngAccordionPanel>
<ng-template ngAccordionContent>
<p>This is the content that will be displayed inside the panel.</p>
</ng-template>
</div>
상세 내용으로 이동