Type Alias: FetchLoaderOptions
FetchLoaderOptions:
object
Options for the FetchLoader
template loader.
Type declaration
cache?
optional
cache:RequestCache
A string indicating requests will interact with the browser's
HTTP cache. Defaults to "default"
.
credentials?
optional
credentials:RequestCredentials
Include or exclude credentials when requesting template sources.
Defaults to "same-origin"
.
headers?
optional
headers:Headers
Headers to include in each request.
mode?
optional
mode:RequestMode
Request mode. Defaults to "cors"
.