addEventResponder method

void addEventResponder(
  1. 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;
}