Skip to content

BlockSuite API Documentation / @blocksuite/affine-block-surface / updateXYWH

Function: updateXYWH()

updateXYWH(ele, bound, updateElement, updateBlock): void

Parameters

ele

GfxModel

bound

Bound

updateElement

(id, props) => void

updateBlock

(model, callBackOrProps) => void

Returns

void

Defined in

packages/affine/block-surface/src/utils/update-xywh.ts:39