A document to open, in whatever shape is most convenient.
The shorthands (string, URL, File, Blob, Uint8Array, ArrayBuffer)
cover the common cases; the object forms exist when you need to pass
passwordProvider, HTTP headers, or a sourceName alongside the data.
null/undefined means "no document" — the viewer is created but stays
empty, and you can open something later with usePdfrxViewer.
A document to open, in whatever shape is most convenient.
The shorthands (
string,URL,File,Blob,Uint8Array,ArrayBuffer) cover the common cases; the object forms exist when you need to passpasswordProvider, HTTP headers, or asourceNamealongside the data.null/undefinedmeans "no document" — the viewer is created but stays empty, and you can open something later with usePdfrxViewer.