getDocumentLoader(unnamed 0?: GetDocumentLoaderOptions): DocumentLoader
Creates a JSON-LD document loader that utilizes the browser's fetch
API.
The created loader preloads the below frequently used contexts by default
(unless options.ignorePreloadedContexts
is set to true
):
optional
unnamed 0: GetDocumentLoaderOptions
The document loader.