CodeMirrorEditor.scrollTo method
CodeMirrorEditor › scrollTo
Unofficial
Scroll the editor to the given coordinates.Signature:
scrollTo(x?: number | undefined, y?: number | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| x? | number | undefined | The horizontal scroll position. |
| y? | number | undefined | The vertical scroll position. |
Returns: void