EpubMediaOverlayOptions

data class EpubMediaOverlayOptions(val activeElementAncestorClass: String? = null, val activeElementStylesOverride: Map<String, String>? = null, val fallbackActiveElementClass: String = "-epub-media-overlay-active", val fallbackPlaybackActiveClass: String = "-epub-media-overlay-playing")

Constructors

Link copied to clipboard
constructor(activeElementAncestorClass: String? = null, activeElementStylesOverride: Map<String, String>? = null, fallbackActiveElementClass: String = "-epub-media-overlay-active", fallbackPlaybackActiveClass: String = "-epub-media-overlay-playing")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

CSS class name to apply to ancestor elements for the currently playing EPUB Content Document element.

Link copied to clipboard

Replaces all publication defined styles used for the active element during MediaOverlay playback.

Link copied to clipboard

Fallback CSS class name to apply to the currently playing EPUB Content Document element, if the OPF document does not specify any such class.

Link copied to clipboard

Fallback CSS class name to apply to the EPUB Content Document's document element when playback is active, if the OPF document does not specify any such class.

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)