Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IEpubContentProcessingOptions

Index

Properties

skipUnusedImagesInScriptedPublicationCss?: boolean

If set to true, background-images defined in the publication CSS that aren't used by any element in the initial DOM will be skipped. This can significantly reduce load time and memory usage for some publications.

This option should be set to false if the publication contains scripted content documents that inserts elements into the document dynamically.

Note: If you set this option to true, and scripted content documents adds elements or classes that references CSS background-images, then those images will not load.

This option only affects scripted content documents. For non-scripted documents, unused background-images in the CSS are always skipped.

default

false

Generated using TypeDoc