Technically, this function is a convenience wrapper that instantiates and runs a FreezeDryer instance. Use that class instead if you need more control; for example to access the
incomplete result before freezeDry finishes, or to obtain it as a Document or Blob rather
than a string.
Freeze-dry an HTML Document.
Technically, this function is a convenience wrapper that instantiates and runs a FreezeDryer instance. Use that class instead if you need more control; for example to access the incomplete result before
freezeDry
finishes, or to obtain it as aDocument
orBlob
rather than a string.Example
Simplest use case:
With options:
Returns
The freeze-dried document as a self-contained, static HTML string.