onProgress method

Audio onProgress(
  1. dynamic fun(
    1. Element,
    2. Event
    )?
)

The progress event is fired periodically as the browser loads a resource. Read more...

Implementation

Audio onProgress(Function(Element, Event)? fun) {
  if (fun != null) on.call('progress', fun);
  return this;
}