Page tree
Skip to end of metadata
Go to start of metadata

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 information about where to insert the layer


Example:

editor.execCommand('insertAbsolutePositionDiv', { x: 100, y: 100, width: 200, height: 200 });
  • No labels