UNPKG

@readium/shared

Version:

Shared models to be used across other Readium projects and implementations in Typescript

20 lines (19 loc) 715 B
export declare class MediaOverlay { /** Author-defined CSS class name to apply to the currently-playing EPUB Content Document element. */ activeClass?: string; /** Author-defined CSS class name to apply to the EPUB Content Document's document element when playback is active. */ playbackActiveClass?: string; /** Creates a MediaOverlay object */ constructor(values: { activeClass?: string; playbackActiveClass?: string; }); /** * Parses a MediaOverlay from its RWPM JSON representation. */ static deserialize(json: any): MediaOverlay | undefined; /** * Serializes a MediaOverlay to its RWPM JSON representation. */ serialize(): any; }