API Reference 0.3.24dart_web_toolkit_eventMouseWheelHandlerAdapter

MouseWheelHandlerAdapter class

Handler interface for {@link MouseWheelEvent} events.

class MouseWheelHandlerAdapter extends EventHandlerAdapter implements MouseWheelHandler {

 MouseWheelHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

 /**
  * Called when MouseWheelEvent is fired.
  *
  * @param event the {@link MouseWheelEvent} that was fired
  */
 void onMouseWheel(MouseWheelEvent event) {
   callback(event);
 }

}

Extends

EventHandlerAdapter > MouseWheelHandlerAdapter

Implements

MouseWheelHandler

Constructors

new MouseWheelHandlerAdapter(EventHandlerAdapterCallback callback) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
MouseWheelHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

Properties

EventHandlerAdapterCallback callback #

inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback

Methods

void onMouseWheel(MouseWheelEvent event) #

Called when MouseWheelEvent is fired.

@param event the {@link MouseWheelEvent} that was fired

void onMouseWheel(MouseWheelEvent event) {
 callback(event);
}