dispatchOnClick method

PCanvasClickEvent dispatchOnClick(
  1. PCanvasClickEvent event
)

Processes event and calls onClick

Implementation

PCanvasClickEvent dispatchOnClick(PCanvasClickEvent event) {
  var event2 = toInnerClickEvent(event, targetElement: this);
  onClick(event2);
  return event2;
}