Last active
September 12, 2020 17:00
-
-
Save BharathRavi27/854b0df800d44400d88fa7eebf02592f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="accordion"> | |
<div class="accordion-head"> | |
<button (click)="isOpen = !isOpen">{{ isOpen ? "-" : "+" }}</button> | |
</div> | |
<hr /> | |
<div *ngIf="isOpen" class="accordion-content"> | |
<ng-container *ngTemplateOutlet="accordionBodyRef"></ng-container> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment