Browse Source

Add filename back

Brent Vatne 8 years ago
parent
commit
f915d70853
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      index.js

+ 1
- 0
index.js View File

9
   options ?: {
9
   options ?: {
10
     width ?: number;
10
     width ?: number;
11
     height ?: number;
11
     height ?: number;
12
+    filename ?: string;
12
     format ?: "png" | "jpg" | "jpeg" | "webm";
13
     format ?: "png" | "jpg" | "jpeg" | "webm";
13
     quality ?: number;
14
     quality ?: number;
14
     result ?: "file" | "base64" | "data-uri";
15
     result ?: "file" | "base64" | "data-uri";