BasicEditorDriver
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
el: * |
Method Summary
Public Methods | ||
public |
|
|
public |
destroy() Destroy the editor |
|
public |
Set the disabled status of the editor. |
|
public |
focus() Focus on the editor. |
|
public |
getCaretCoordinates(position: undefined): {"top": *, "left": *} |
|
public |
getLastNChars(n: undefined): * |
|
public |
|
|
public |
|
|
public |
insertAtCursor(text: undefined) |
|
public |
insertBetween(selectionStart: undefined, selectionEnd: undefined, text: undefined) |
|
public |
keyHandlers(params: undefined): * |
|
public |
moveCursorTo(position: undefined) |
|
public |
replaceBeforeCursor(start: undefined, text: undefined) |
|
public |
setSelectionRange(start: undefined, end: undefined) |
Public Constructors
public constructor() source
Public Members
public el: * source
Public Methods
public disabled(disabled: undefined) source
Set the disabled status of the editor.
Params:
Name | Type | Attribute | Description |
disabled | undefined |
public getCaretCoordinates(position: undefined): {"top": *, "left": *} source
Params:
Name | Type | Attribute | Description |
position | undefined |
Return:
{"top": *, "left": *} |
public getLastNChars(n: undefined): * source
Params:
Name | Type | Attribute | Description |
n | undefined |
Return:
* |
public keyHandlers(params: undefined): * source
Params:
Name | Type | Attribute | Description |
params | undefined |
Return:
* |
public moveCursorTo(position: undefined) source
Params:
Name | Type | Attribute | Description |
position | undefined |