onPaste method

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

The paste event is fired when the user has initiated a "paste" action through the browser's user interface. Read more...

Implementation

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