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,6 +9,7 @@ export function takeSnapshot(
9 9
   options ?: {
10 10
     width ?: number;
11 11
     height ?: number;
12
+    filename ?: string;
12 13
     format ?: "png" | "jpg" | "jpeg" | "webm";
13 14
     quality ?: number;
14 15
     result ?: "file" | "base64" | "data-uri";