Interface: CanvasMessage

WebRChan.CanvasMessage

A webR communication channel message.

Hierarchy

Table of contents

Properties

Properties

data

data: { event: "canvasNewPage" ; id: number } | { event: "canvasImage" ; id: number ; image: ImageBitmap }

Overrides

Message.data

Defined in

webR/webr-chan.ts:213


type

type: "canvas"

Overrides

Message.type

Defined in

webR/webr-chan.ts:212