PreloadOptions interface
Options of `assets.preload`.
import type { PreloadOptions } from '@dioramajs/diorama/assets'interface PreloadOptionsMembers
| Name | Type | Description |
|---|---|---|
readonly base? | string | URL | Base for relative URLs and srcset, i.e. the next page's URL. Defaults to <base href>, then document.baseURI. |
readonly crossOrigin? | CrossOrigin | CORS mode of images given as URLs. Match the |
readonly priority? | Priority | Default 'low'. |
Also exported from @dioramajs/assets.
Defined in packages/assets/src/types.ts.