Methods
getHttpLink(append) → {HttpLink}
Get HttpLink appended with append
- Source:
Parameters:
Name | Type | Default | Description |
---|---|---|---|
append |
string
|
"" |
Returns:
- Type:
-
HttpLink
getLink(id, size) → {string}
Get an image link with size
- Source:
Parameters:
Name | Type | Description |
---|---|---|
id |
string
|
|
size |
string
|
(100px, 300px, 600px or 1200px) |
Returns:
- Type:
-
string
upload(image) → {Promise.<any>}
Upload an new image
- Source:
Parameters:
Name | Type | Description |
---|---|---|
image |
Image in base64 format |
Returns:
- Type:
-
Promise.<any>