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);
}