Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOptions

An options object for initializing a widget. The options used to create an editor widget.

Hierarchy

  • IOptions

Index

Properties

context

context: DocumentRegistry.CodeContext

The document context associated with the editor.

factory

factory: CodeEditor.Factory

A code editor factory.

mimeTypeService

mimeTypeService: IEditorMimeTypeService

The mime type service for the editor.

Optional node

node: HTMLElement

The optional node to use for the widget.

If a node is provided, the widget will assume full ownership and control of the node, as if it had created the node itself.

The default is a new <div>.

Generated using TypeDoc