packages/cf-expandables/src/Expandable.js
function expandableClickHandler() {
  this.transition.toggleExpandable();
  this.toggleTargetState( this.ui.target );

  if ( this.isAccordionGroup ) {
    if ( this.activeAccordion ) {
      this.activeAccordion = false;
    } else {
      Events.trigger( 'accordionActivated', { target: this } );
      this.activeAccordion = true;
    }
  }
}
function expandableClickHandler() {
  this.transition.toggleExpandable();
  this.toggleTargetState( this.ui.target );

  if ( this.isAccordionGroup ) {
    if ( this.activeAccordion ) {
      this.activeAccordion = false;
    } else {
      Events.trigger( 'accordionActivated', { target: this } );
      this.activeAccordion = true;
    }
  }
}
function expandableClickHandler ( ) { this . transition . toggleExpandable ( ) ; this . toggleTargetState ( this . ui . target ) ; if ( this . isAccordionGroup ) { if ( this . activeAccordion ) { this . activeAccordion = false ; } else { Events . trigger ( 'accordionActivated' , { target : this } ) ; this . activeAccordion = true ; } } }
Event handler for when an expandable is clicked.
Event handler for when an expandable is clicked .