onDragEnter method

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

The dragend event is fired when a drag operation is being ended (by releasing a mouse button or hitting the escape key). Read more...

Implementation

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