VMPrint API Reference - v1.0.0
GitHub
Examples
Preparing search index...
@vmprint/web-fonts
WebFontCatalogLoadOptions
Interface WebFontCatalogLoadOptions
interface
WebFontCatalogLoadOptions
{
aliases
?:
Record
<
string
,
string
>
;
cache
?:
boolean
|
WebFontCacheOptions
;
fetch
?:
{
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
Request
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
;
fetchTimeoutMs
?:
number
;
maxConcurrentDownloads
?:
number
;
onProgress
?:
(
event
:
WebFontProgressEvent
)
=>
void
;
repositoryBaseUrl
?:
string
;
requestInit
?:
RequestInit
;
}
Hierarchy
Omit
<
WebFontManagerOptions
,
"fonts"
|
"aliases"
>
WebFontCatalogLoadOptions
Index
Properties
aliases?
cache?
fetch?
fetch
Timeout
Ms?
max
Concurrent
Downloads?
on
Progress?
repository
Base
Url?
request
Init?
Properties
Optional
aliases
aliases
?:
Record
<
string
,
string
>
Optional
cache
cache
?:
boolean
|
WebFontCacheOptions
Optional
fetch
fetch
?:
{
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
Request
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
Type Declaration
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
RequestInfo
|
URL
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
(
input
:
string
|
Request
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
string
|
Request
|
URL
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
Optional
fetch
Timeout
Ms
fetchTimeoutMs
?:
number
Optional
max
Concurrent
Downloads
maxConcurrentDownloads
?:
number
Optional
on
Progress
onProgress
?:
(
event
:
WebFontProgressEvent
)
=>
void
Optional
repository
Base
Url
repositoryBaseUrl
?:
string
Optional
request
Init
requestInit
?:
RequestInit
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
aliases
cache
fetch
fetch
Timeout
Ms
max
Concurrent
Downloads
on
Progress
repository
Base
Url
request
Init
GitHub
Examples
VMPrint API Reference - v1.0.0
Loading...
MDN Reference