Options
All
  • Public
  • Public/Protected
  • All
Menu

A VDomModel for the current editor/mode combination.

Hierarchy

Index

Constructors

constructor

Properties

Private _editor

_editor: any

Private _mode

_mode: any

Private _onMIMETypeChange

_onMIMETypeChange: any

If the editor mode changes, update the model.

Private _triggerChange

_triggerChange: any

Trigger a rerender of the model.

Readonly stateChanged

stateChanged: Signal<Model, void>

A signal emitted when any model state changes.

Accessors

editor

  • get editor(): IEditor
  • set editor(editor: IEditor): void
  • The current editor for the application editor tracker.

    Returns IEditor

  • The current editor for the application editor tracker.

    Parameters

    • editor: IEditor

    Returns void

isDisposed

  • get isDisposed(): boolean
  • Test whether the model is disposed.

    Returns boolean

mode

  • get mode(): string
  • The current mode for the editor. If no editor is present, returns the empty string.

    Returns string

Methods

dispose

  • dispose(): void
  • Dispose the model.

    Returns void

Generated using TypeDoc