Skip to content

BlockSuite API Documentation / @blocksuite/blocks / fitContent

Function: fitContent()

fitContent(shape): void

Parameters

shape: ShapeElementModel

Returns

void

Defined in

packages/affine/block-surface/dist/renderer/elements/shape/utils.d.ts:14