Skip to main content

WorkbenchEditor

interface

A mounted Studio document. Reopen the resource after its mount is replaced.

interface WorkbenchEditor

Import

import { WorkbenchEditor } from '@modular/sdk';

Members3

uri
string
inspect()
(options?: WorkbenchInspectOptions & { readonly signal?: AbortSignal; }) => Promise<WorkbenchEditorSnapshot>
screenshot()
(options?: WorkbenchScreenshotOptions & { readonly signal?: AbortSignal; }) => Promise<Uint8Array>

Capture document-only PNG bytes; fullPage includes offscreen document content.