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:219


type

type: "canvas"

Overrides

Message.type

Defined in

webR/webr-chan.ts:218