THEOplayer > RepresentationChangeEvent
Inherits from Event<'representationchange'>. See parent page for inherited properties and methods.
Fired when the current representation changes.
Signature:
export interface RepresentationChangeEvent extends Event<'representationchange'>
Property |
Type |
Description |
---|---|---|
Representation |
The player's previous representation. |
|
Representation |
The player's current representation. |
The player's previous representation.
Signature:
readonly previousRepresentation: Representation | undefined;
The player's current representation.
Signature:
readonly representation: Representation | undefined;