Interface: ConsoleCallbacks

WebR.ConsoleCallbacks

Table of contents

Properties

Properties

canvasImage

Optional canvasImage: (image: ImageBitmap) => void

Type declaration

▸ (image): void

Parameters
Name Type
image ImageBitmap
Returns

void

Defined in

webR/console.ts:8


canvasNewPage

Optional canvasNewPage: () => void

Type declaration

▸ (): void

Returns

void

Defined in

webR/console.ts:9


prompt

Optional prompt: (line: string) => void

Type declaration

▸ (line): void

Parameters
Name Type
line string
Returns

void

Defined in

webR/console.ts:7


stderr

Optional stderr: (line: string) => void

Type declaration

▸ (line): void

Parameters
Name Type
line string
Returns

void

Defined in

webR/console.ts:6


stdout

Optional stdout: (line: string) => void

Type declaration

▸ (line): void

Parameters
Name Type
line string
Returns

void

Defined in

webR/console.ts:5