onMouseWheel method

dynamic onMouseWheel(
  1. dynamic event
)

Implementation

onMouseWheel(event) {
  if (scope.enabled == false ||
      scope.enableZoom == false ||
      state != STATE.NONE) return;

  event.preventDefault();

  scope.dispatchEvent(_startEvent);

  handleMouseWheel(event);

  scope.dispatchEvent(_endEvent);
}