GlobalEventHandlers.ondurationchange

The ondurationchange property of the GlobalEventHandlers mixin is the event handler for processing durationchange events.

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

Syntax

element.ondurationchange = handlerFunction;
var handlerFunction = element.ondurationchange;

handlerFunction is either null or a JavaScript function specifying the handler for the event.

Specifications

Specification
HTML Standard
# handler-ondurationchange

Browser compatibility

BCD tables only load in the browser

See also