TextEditorRuntimeDOMElementHandler

TextManager editor class.

Constructor

new TextEditorRuntimeDOMElementHandler(iRuntime)

Create class.
Parameters:
NameTypeDescription
iRuntimeobjectThe instance object that gives to the parent's constructor.

Extends

Members

_editor :Object.<external:Quill>

Quill editor object.
Type:

Methods

CreateElement(elementId, e) → {Object.<Element>}

Called when runtime want create DOM element.
Parameters:
NameTypeDescription
elementIdnumberThe element id that identify the instance.
eobjectOptional create data.
Returns:
DOM element to create.
Type: 
Object.<Element>

UpdateState(elem, e)

Called when runtime want update DOM element state.
Parameters:
NameTypeDescription
elemnumberThe instance element.
eobjectUpdate data.

_OnTextChanged(elementId)

Called when user changeddd the text.
Parameters:
NameTypeDescription
elementIdnumberThe element id that identify the instance.