GlobalEventHandlers.ondurationchange

The ondurationchange property of the GlobalEventHandlers mixin is the EventHandler 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 Status Comment
HTML Living Standard
The definition of 'ondurationchange' in that specification.
Living Standard

Browser compatibility

BCD tables only load in the browser

See also