onCueChange method

Track onCueChange(
  1. dynamic fun(
    1. Element,
    2. Event
    )?
)

The cuechange event fires when a TextTrack has changed the currently displaying cues. Read more...

Implementation

Track onCueChange(Function(Element, Event)? fun) {
  if (fun != null) on.call('cuechange', fun);
  return this;
}