title: How do I get the target element event of accordion-group on isOpenChange is triggered
body: <p>Well I want to expand the accordion(collapsable) when I click on the button and scroll the opened accordion to the top of the view.</p>
  
  <p>I am using ngx-bootstrap for this it has an "isOpenChange" event which triggers when any accordion is expanded. Here I am trying to get the event.target of the accordion-group which is expanded. I am using below code for this to scroll in the event.</p>
  
  <pre><code>event.target.scrollIntoView({behavior: 'smooth', block: 'start', inline: 'nearest'});
  </code></pre>
  
  <p>I have tried passing the event from "isOpenChange" but it returns only true/false. I am getting below issue as the event is always true/false. I am able to pass it using click function but in my case, the accordion should open when I click outside or some button on another portion of the same page.</p>
  
  <p>I want to be able to track the target event of the element.</p>
  
  <pre><code>&lt;accordion [closeOthers]="true" [isAnimated]="true"&gt;
  &lt;div class="listitem" *ngFor="let equipment of equipments"&gt;
    &lt;accordion-group #group (isOpenChange)="equipmentOpened(equipment, $event)" [class.active]="equipment.active" [isOpen]="equipment.active"&gt;
      &lt;accordion-heading accordion-heading&gt;
        &lt;span class="icon icon-{{ equipment.icon }} smallIcon"&gt;&lt;/span&gt;
        &lt;div class="arrowdown icon-backward-arrow"&gt;&lt;/div&gt;
        &lt;div class="accordionText"&gt;
            &lt;span&gt;{{ equipment.description }}&lt;/span&gt;
            &lt;span class="subtitle"&gt;Asset Id:&lt;span class="listanswer"&gt;{{equipment.id }}&lt;/span&gt;&lt;/span&gt;
        &lt;/div&gt;
      &lt;/accordion-heading&gt;
      &lt;div class="information-list" *ngIf="group.isOpen"&gt;
        &lt;ul&gt;
          &lt;li class="listtitle"&gt;
            Asset type
            &lt;div class="listanswer"&gt;{{equipment.type}}&lt;/div&gt;
          &lt;/li&gt;
          &lt;li class="listtitle" *ngIf="equipment.batteryLevel != null"&gt;
            Battery Level Sensor
            &lt;div class="listanswer"&gt;{{equipment.getBatteryPercentage()}}%&lt;/div&gt;
          &lt;/li&gt;
          &lt;li class="listtitle" *ngIf="!isNumber(equipment.getTemperature())"&gt;
            Temperature
            &lt;div class="listanswer"&gt;{{equipment.getTemperature()}}&amp;#176;C&lt;/div&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
        &lt;ul&gt;
          &lt;li class="listtitle"&gt;
            Last Seen (UTC timezone)
            &lt;div class="listanswer"&gt;{{equipment.getLastSeenDate() }}&lt;/div&gt;
          &lt;/li&gt;
          &lt;li class="listtitle"&gt;
            Owner
            &lt;div class="listanswer"&gt;{{equipment.owner}}&lt;/div&gt;
          &lt;/li&gt;
          &lt;!-- &lt;li class="listtitle"&gt;
            Distance
            &lt;div class="listanswer"&gt;{{equipment.owner}} meters&lt;/div&gt;
          &lt;/li&gt; --&gt;
        &lt;/ul&gt;
        &lt;button (click)="showMap()" class="closeAndShowButton"&gt;Show on map&lt;/button&gt;
      &lt;/div&gt;
  
    &lt;/accordion-group&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p><a href="https://i.stack.imgur.com/Sovzg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Sovzg.png" alt="enter image description here"></a></p>