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