Copy

ResourceResolver

Resolves resources that cannot be fetched directly by the browser snapshot.

ON_THIS_PAGE
  1. Signature

Resolves resources that cannot be fetched directly by the browser snapshot.

For stylesheets, a string is CSS source. For images, a string is a data URL or replacement URL. null leaves the request unresolved and applies resourcePolicy.

Signature

export type ResourceResolver = (request: ResourceRequest) => Blob | string | null | Promise<Blob | string | null>;
SOURCE:162
ON_THIS_PAGE
  1. Signature
html2realpdf documentationCopyright © Imggion
DOCUMENTATION_TREE