ReadiumFile
The publication a ReadiumView opens.
Properties
url
url: string;
iOS and Android: a local path or file:// URL to an EPUB or PDF. Web: the URL of an unpacked
EPUB's manifest.json, or of a PDF.
initialLocation?
optional initialLocation?: Locator;
Where to start reading, e.g. a locator saved from onLocationChange.
credentials?
optional credentials?: string;
Handed to the registered content protections when the publication is opened, e.g. an LCP passphrase or its SHA-256 hex hash. Ignored by unprotected publications and on web.