Interface Presentation

The presentation API.

interface Presentation {
    currentMode: PresentationMode;
    addEventListener<TType>(type, listener): void;
    removeEventListener<TType>(type, listener): void;
    requestMode(mode): void;
    supportsMode(mode): boolean;
}

Hierarchy (view full)

Properties

currentMode: PresentationMode

The active presentation mode of the player.

Default Value

'inline'

Methods

  • Change the presentation mode of the player.

    Parameters

    Returns void

  • Whether the player supports the provided presentation mode.

    Parameters

    Returns boolean

    Whether the player supports mode.

Generated using TypeDoc