The value for the
<link rel="prefetch|preload"> element's
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link. Use "fetch" for html pages as Safari doesn't support "document".
The attribute whose value should be prefetched. Defaults to
A callback to override the default prefetching logic. Will be called for each matching element,
maxMatches is provided, the first n elements.
The value of the
crossorigin attribute of the prefetch link. Defaults to 'anonymous'. Setting this to
makes it so the
crossorigin attribute is omitted, i.e. no CORS is used.
The max number of matching elements to prefetch per page
The CSS selector to use when finding elements whose src or href should be deep fetched
Generated using TypeDoc