Constructor # new ScreenShot() View Source libs/screenshot.js, line 11 Classes ScreenShot Methods # afterScreenshot() After screenshot View Source libs/screenshot.js, line 92 # beforeScreenshot() Before screenshot View Source libs/screenshot.js, line 84 # createImage() Create the image View Source libs/screenshot.js, line 102 # flash() Do flash effect View Source libs/screenshot.js, line 151 # take() Take the screenshot View Source libs/screenshot.js, line 33 Returns: undefined # toDownload(dataUrl) Create a link and download the image Parameters: Name Type Description dataUrl String Image data View Source libs/screenshot.js, line 72 # toNewWindow(dataUrl) Open a new window with the image Parameters: Name Type Description dataUrl String Image data View Source libs/screenshot.js, line 50 Returns: undefined