onDrop method

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

The drop event is fired when an element or text selection is dropped on a valid drop target. Read more...

Implementation

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