onBeforeCopy method

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

The copy event fires when the user initiates a copy action through the browser's user interface. Read more...

Implementation

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