Constructor
new TextEditorRuntimeDOMElementHandler(iRuntime)
Create class.
Parameters:
Name | Type | Description |
---|---|---|
iRuntime | object | The instance object that gives to the parent's constructor. |
- Source
Extends
Members
_editor :Object.<external:Quill>
Quill editor object.
Type:
- Object.<external:Quill>
- Source
Methods
CreateElement(elementId, e) → {Object.<Element>}
Called when runtime want create DOM element.
Parameters:
Name | Type | Description |
---|---|---|
elementId | number | The element id that identify the instance. |
e | object | Optional create data. |
- Source
Returns:
DOM element to create.
- Type:
- Object.<Element>
UpdateState(elem, e)
Called when runtime want update DOM element state.
Parameters:
Name | Type | Description |
---|---|---|
elem | number | The instance element. |
e | object | Update data. |
- Source
_OnTextChanged(elementId)
Called when user changeddd the text.
Parameters:
Name | Type | Description |
---|---|---|
elementId | number | The element id that identify the instance. |
- Source