onTouchStart method

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

The touchstart event is fired when one or more touch points are placed on the touch surface. Read more...

Implementation

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