Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

선택한 좌표에 캐럿을 이동시킵니다Move the caret to the desired coordinate.


Parameters:

NameTypeDescription
actionNameString액션 이름'setCaret' move the caret to the desired coordinate API
xNumberx 좌표 (화면에서의 좌표)coordinate
yNumbery 좌표 (화면에서의 좌표)coordinate


Example:

Code Block
languagejs
themeEmacs
editor.execCommand('setCaret', 100, 100);

...