Skip to content

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

Function: fitContent()

fitContent(shape): void

Parameters

shape

ShapeElementModel

Returns

void

Defined in

packages/affine/block-surface/src/renderer/elements/shape/utils.ts:234