Snapshot

class Snapshot()

Constructors

Methods


Constructors

Snapshot.constructor(domElements, config)
Arguments:
Return type:

Snapshot()

Methods

capture

Snapshot.capture(mainCanvasContainer)
Arguments:
  • mainCanvasContainer (HTMLDivElement()) – None
Return type:

Promise <HTMLImageElement>