Search Docs
Loading...
Skip to content

Interface: AssetDropPayload

Where a dragged asset was released on the canvas. The payload of the asset.drop action.

Properties#

Property Type Description
sourceId string The asset source of the dropped asset. Empty when the drag named no asset.
assetId string The dropped asset. Empty when the drag named no asset.
target number The block below the drop that can take the asset, or null.
page number The page below the drop, or null.
pageX number The drop point in the coordinates of page, in design units. 0 when page is null.
pageY number The drop point in the coordinates of page, in design units. 0 when page is null.