capture
@JvmOverloads()
Content copied to clipboard
Generate screenshots by specifying elementQuery
Parameters
elementQuery
default: "body". see also document.querySelector
support: "#id", ".class", "tag"... etc.
option
default: "{}". see also html2canvas
allowTaint: default false
Whether to allow cross-origin images to taint the canvas
useCORS: default false
Whether to attempt to load images from a server using CORS