import { Component } from '@angular/core' ; @ Component ( { selector : 'app-accordion-demo' , templateUrl : './accordion-demo.component.html' , } ) export class AccordionDemoComponent { stepOpen = true ; disableThirdPanel = true ; change ( event ) { console . log ( 'Accordion Changed' , event ) ; } }