Constructor
# new Fetch(url, options)
As options the key fetch
can be passed. This config object is passed to the fetch method as init.
Parameters:
Name | Type | Description |
---|---|---|
url |
string | URL | |
options |
Object |
- Since:
- 1.13.0
- Copyright:
- schukai GmbH
Members
# defaults
Defaults
Properties
Name | Type | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fetch |
Object |
Properties
|
# url
Properties
Type | Description |
---|---|
string |
Methods
# getTranslations(locale) → {Promise}
Parameters:
Name | Type | Description |
---|---|---|
locale |
Locale | string |
Returns:
- Type
- Promise