Page tree

Versions Compared

Key

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

Absolute Position 레이어를 삽입합니다Insert absolute position layer according to the set coordinate and size.


Parameters:

NameTypeDescription
actionNameString액션 이름'insertAbsolutePositionDiv' absolute position layer inserting API
rectObject

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

레이어를 삽입할 위치에 대한 Rect 정보Rect information about where to insert the layer


Example:

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

...