Utils
Class in @sascom/commonjs.
API catalogue · @sascom/commonjs · Class
Members#
| Member | Kind | Description |
|---|---|---|
| constructor | Method | |
| downloadBlob | Method | |
| imagesOnBackgroundColor | Method | |
| uuidv4 | Method |
constructor#
TypeScript#
constructor()downloadBlob#
TypeScript#
static downloadBlob(blob: Blob, filename: string): voidParameters#
| Name | Type | Description |
|---|---|---|
blob |
Blob |
|
filename |
string |
imagesOnBackgroundColor#
TypeScript#
static imagesOnBackgroundColor(width: number, height: number, color: TinyColor, ...images: (unknown)[]): Promise<Blob>Parameters#
| Name | Type | Description |
|---|---|---|
width |
number |
|
height |
number |
|
color |
TinyColor | |
images |
(unknown)[] |
uuidv4#
TypeScript#
static uuidv4(): string