Skip to content

Interface: SurfaceLoadOptions ​

Defined in: loaders.ts:72

Properties ​

signal? ​

ts
optional signal?: AbortSignal;

Defined in: loaders.ts:74

Optional caller-owned cancellation signal.


domParser? ​

ts
optional domParser?: () => DOMParser;

Defined in: loaders.ts:76

DOMParser constructor for Node/SSR GIFTI parsing.

Returns ​

DOMParser


maxBytes? ​

ts
optional maxBytes?: number;

Defined in: loaders.ts:78

Maximum accepted response/file body size. Defaults to 500 MiB.

Released under the MIT License.