Class: SourceEditor

SourceEditor()

Creates a Source Editor component to use for source code editing.

Constructor

new SourceEditor()

Source:

Members

(static, non-null) STATE :Object

State definition.
Type:
  • Object
Source:

autocompleteTags :Array

List of tags for custom autocompletion in the HTML editor.
Type:
  • Array
Default Value:
  • []
Source:

(non-null) initialContent :string

Initial content sent to the editor.
Type:
  • string
Default Value:
  • undefined
Source:

(non-null) spritemap :string

Path of the available icons.
Type:
  • string
Default Value:
  • undefined
Source:

(non-null) syntax :string

Syntax used for the Ace Editor that is rendered on the interface.
Type:
  • string
Default Value:
  • undefined
Source:
See:

Methods

_handleContentChanged(eventnon-null)

Callback that propagates the contentChanged event when the internal Ace Editor is modified.
Parameters:
Name Type Description
event Event
Source: