Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ All capture methods accept an `options` object:
| `quality` | number | `1` | Quality for JPG/WebP (0 to 1) |
| `useProxy` | string | '' | Specify a proxy for handling CORS images as fallback|
| `type` | string | `svg` | Select `png`, `jpg`, `webp` Blob type|
| `exclude` | string[] | - | CSS selectors for elements to exclude |
| `filter` | function | - | Custom filter function ie `(el) => !el.classList.contains('hidden')` |

### Setting custom dimensions with width and height options

Expand Down