Absolute Position 레이어를 삽입합니다Insert absolute position layer according to the set coordinate and size.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String액션 이름 | 'insertAbsolutePositionDiv' absolute position layer inserting API |
rect | Object | { x: {Number}, y: {Number}, width: {Number}, height: {Number} } 레이어를 삽입할 위치에 대한 Rect 정보Rect information about where to insert the layer |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
editor.execCommand('insertAbsolutePositionDiv', { x: 100, y: 100, width: 200, height: 200 }); |
...