Page tree

Versions Compared

Key

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

Absolute Position 레이어를 삽입합니다.


Parameters:

NameTypeDescription
actionNameString액션 이름
rectObject

{ x: {Number}, y: {Number}, width: {Number}, height: {Number} }

레이어를 삽입할 위치에 대한 Rect 정보


Example:

Code Block
languagejs
themeEmacs
editor.execCommand('insertAbsolutePositionDiv', { x: 100, y: 100, width: 200, height: 200 });