Skip to content

BlockSuite API Documentation / @blocksuite/blocks / BlockLayer

Type Alias: BlockLayer

BlockLayer: BaseLayer<EdgelessBlockModel> & object

Type declaration

type

type: "block"

zIndex

zIndex: number

The z-index of the first block in this layer.

A block layer may contains multiple blocks, the block should be rendered with this zIndex + "its index in the layer" as the z-index property.

Defined in

packages/affine/block-surface/dist/managers/layer-manager.d.ts:18