The options used to create an code viewer widget without a model.

interface INoModelOptions {
    content: string;
    editorOptions?: Omit<CodeEditor.IOptions, "host" | "model">;
    factory: Factory;
    mimeType?: string;
}

Hierarchy

Properties

content: string

The content to display in the viewer.

editorOptions?: Omit<CodeEditor.IOptions, "host" | "model">

Code editor options

factory: Factory

A code editor factory.

mimeType?: string

The mime type for the content.