onDurationChange method

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

The durationchange event is fired when the duration attribute has been updated. Read more...

Implementation

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