addEventResponder method
void
addEventResponder(
- RenderPointerListenerMixin renderBox
inherited
Implementation
void addEventResponder(RenderPointerListenerMixin renderBox) {
renderBox.onClick = handleMouseEvent;
renderBox.onDoubleClick = dispatchEvent;
renderBox.onSwipe = dispatchEvent;
renderBox.onPan = dispatchEvent;
renderBox.onScale = dispatchEvent;
renderBox.onLongPress = dispatchEvent;
renderBox.getEventHandlers = getEventHandlers;
renderBox.getEventTarget = getEventTarget;
renderBox.dispatchEvent = dispatchEvent;
}