function toggle( duration ) {
      if ( _isExpanded() ) {
        _collapseBinded( duration );
      } else {
        _expandBinded( duration );
      }
      return _that;
    }
/**
     * @param {number} duration
     *   The duration of the sliding animation in milliseconds.
     * @returns {Object} The Expandable instance.
     */
@param {number} duration
The duration of the sliding animation in milliseconds.
@returns {Object} The Expandable instance.
@param { number } duration The duration of the sliding animation in milliseconds . @returns { Object } The Expandable instance .
function toggle( duration ) {
      if ( _isExpanded() ) {
        _collapseBinded( duration );
      } else {
        _expandBinded( duration );
      }
      return _that;
    }
function toggle ( duration ) { if ( _isExpanded ( ) ) { _collapseBinded ( duration ) ; } else { _expandBinded ( duration ) ; } return _that ; }
@param {number} duration
   The duration of the sliding animation in milliseconds.
@param { number } duration The duration of the sliding animation in milliseconds .