Skip to main content

Interface: ScreenshotOptions

mugshot.ScreenshotOptions

Properties#

ignore#

Optional ignore: MugshotSelector

All elements identified by this selector will be covered with ignoreColor before taking the screenshot.

Defined in: packages/mugshot/src/interfaces/screenshotter.ts:8


ignoreColor#

Optional ignoreColor: string

The color used to covered elements matched by the ignore selector.

example #ff0000 // 6 hex char notation

example #ccc // 3 hex char notation

default #000

Defined in: packages/mugshot/src/interfaces/screenshotter.ts:21