src/buttons/AbstractZoomButton.js
/**
   * @summary Handles mouse up events
   * @private
   */
@summary Handles mouse up events
@private
@summary Handles mouse up events @private
__onMouseUp() {
    if (!this.prop.enabled || !this.prop.buttondown) {
      return;
    }
    if (this.prop.longPressAnimation) {
      this.prop.longPressAnimation.cancel();
      this.prop.longPressAnimation = null;
    }
    else {
      this.psv.zoom(this.psv.prop.zoomLvl + this.prop.value * this.psv.config.zoomButtonIncrement);
    }
    if (this.prop.longPressTimeout) {
      clearTimeout(this.prop.longPressTimeout);
    }
    this.prop.buttondown = false;
  }
__onMouseUp ( ) { if ( ! this . prop . enabled || ! this . prop . buttondown ) { return ; } if ( this . prop . longPressAnimation ) { this . prop . longPressAnimation . cancel ( ) ; this . prop . longPressAnimation = null ; } else { this . psv . zoom ( this . psv . prop . zoomLvl + this . prop . value * this . psv . config . zoomButtonIncrement ) ; } if ( this . prop . longPressTimeout ) { clearTimeout ( this . prop . longPressTimeout ) ; } this . prop . buttondown = false ; }
@summary Handles mouse up events
 @private
@summary Handles mouse up events @private