BlockSuite API Documentation / @blocksuite/blocks / 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/dist/utils/update-xywh.d.ts:4