onAbort method

Video onAbort(
  1. dynamic fun(
    1. Element,
    2. Event
    )?
)

The abort event is fired when the resource was not fully loaded, but not as the result of an error. Read more...

Implementation

Video onAbort(Function(Element, Event)? fun) {
  if (fun != null) on.call('abort', fun);
  return this;
}