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 information about where to insert the layer |
Example:
editor.execCommand('insertAbsolutePositionDiv', { x: 100, y: 100, width: 200, height: 200 });