Skip to content

Interface: ElementEvents ​

Signals between an element and the player.

Properties ​

nomorepads ​

nomorepads: () => void

Sources emit it once every expected pad exists; the player then emits it on sinks.

Returns ​

void


padadded ​

padadded: (pad) => void

Parameters ​

pad ​

Pad

Returns ​

void


padremoved ​

padremoved: (pad, failed) => void

failed is true when the pad was lost to a failure rather than, say, a catalog update.

Parameters ​

pad ​

Pad

failed ​

boolean

Returns ​

void


ready ​

ready: () => void

Sinks emit it once they can play.

Returns ​

void