선택한 좌표에 캐럿을 이동시킵니다Move the caret to the desired coordinate.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String액션 이름 | 'setCaret' move the caret to the desired coordinate API |
x | Number | x 좌표 (화면에서의 좌표)coordinate |
y | Number | y 좌표 (화면에서의 좌표)coordinate |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
editor.execCommand('setCaret', 100, 100); |
...