onPause method

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

The pause event is sent when a request to pause an activity is handled and the activity has entered its paused state, most commonly after the media has been paused through a call to the element's pause() method. Read more...

Implementation

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