Last active
September 12, 2020 17:01
-
-
Save BharathRavi27/0562b6a722eaa8eaefe9ab60c38228fa 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
// ... | |
@Component({ | |
selector: 'app-accordion', | |
templateUrl: './accordion.component.html', | |
}) | |
export class AccordionComponent implements OnInit { | |
isOpen: boolean = false; | |
@ContentChild(AccordionBodyDirective, { read: TemplateRef }) | |
accordionBodyRef: TemplateRef<unknown>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment