onWheel method

WidgetElementVisible onWheel(
  1. dynamic fun(
    1. Element,
    2. Event
    )?
)
inherited

The wheel event fires when the user rotates a wheel button on a pointing device (typically a mouse). Read more...

Implementation

WidgetElementVisible onWheel(Function(Element, Event)? fun) {
  if (fun != null) on.call('wheel', fun);
  return this;
}