new EPUBOutputOptions()
An object containing options common to ToEpub functions
Methods
-
setExpanded(expanded)
-
Create the EPUB in expanded format. Default is false.
Parameters:
Name Type Description expanded
boolean if false a single EPUB file will be generated, otherwise, the generated EPUB will be in unzipped (expanded) format Returns:
this object, for call chaining -
setReuseCover(reuse)
-
Set whether the first content page in the EPUB uses the cover image or not. If this is set to true, then the first content page will simply wrap the cover image in HTML. Otherwise, the page will be converted the same as all other pages in the EPUB. Default is false.
Parameters:
Name Type Description reuse
boolean if true the first page will simply be EPUB cover image, otherwise, the first page will be converted the same as the other pages Returns:
this object, for call chaining