Methods
init
- init(message: Record<string, string>): Promise<Object>
-
Parameters
-
message: Record<string, string>
Returns Promise<Object>
sendMessageToCanvas
- sendMessageToCanvas(message: Object): Promise<Object>
-
Parameters
Returns Promise<Object>
setCanvas
- setCanvas(canvas: HTMLCanvasElement): void
-
Parameters
-
canvas: HTMLCanvasElement
Returns void
setCanvasTask
- setCanvasTask(task: Function): void