Theia API Documentation v1.73.0
    Preparing search index...
    interface MermaidViewerProps {
        clipboardService: ClipboardService;
        code: string;
        contextMenuCallback?: (event: IMouseEvent) => void;
        editorProvider: MonacoEditorProvider;
        isComplete: boolean;
        themeService: ThemeService;
        untitledResourceResolver: UntitledResourceResolver;
    }
    Index

    Properties

    clipboardService: ClipboardService
    code: string

    The raw mermaid diagram definition.

    contextMenuCallback?: (event: IMouseEvent) => void

    Optional context menu handler for the source view's editor.

    editorProvider: MonacoEditorProvider
    isComplete: boolean

    Whether the surrounding content is complete. While incomplete, an unparseable diagram shows a "rendering" hint.

    themeService: ThemeService
    untitledResourceResolver: UntitledResourceResolver