Interface Imagine

The Imagine API.

interface Imagine {
    playing: boolean;
    addEventListener<TType>(type: TType | readonly TType[], listener: EventListener<ImagineEventMap[TType]>): void;
    removeEventListener<TType>(type: TType | readonly TType[], listener: EventListener<ImagineEventMap[TType]>): void;
}

Hierarchy (view full)

Properties

playing: boolean

Whether an Imagine ad is playing.

Methods