Options
All
  • Public
  • Public/Protected
  • All
Menu

Options used when creating EPUB ContentPositionTimeline objects with WORDS as unit of measurement.

In publications with lots of media, it might be desirable to count media elements (or other replaced elements) as X number of words to get a better estimation of the "length" of the rendered publication. By default each replaced element is counted as 10 words.

Hierarchy

  • IEpubWordsContentPositionTimelineMappingOptions

Index

Properties

Optional audioElementWeight

audioElementWeight?: number

The number of words each audio element should be counted as.

int
default

10

Optional iframeElementWeight

iframeElementWeight?: number

The number of words each iframe element should be counted as.

int
default

10

Optional imageElementWeight

imageElementWeight?: number

The number of words each image element should be counted as.

int
default

10

Optional videoElementWeight

videoElementWeight?: number

The number of words each video element should be counted as.

int
default

10

Generated using TypeDoc