Skip to content

API > @blocksuite/blocks > getEdgelessPage

Function: getEdgelessPage ​

getEdgelessPage(page): null | EdgelessPageBlockComponent

If it's not in the edgeless mode, it will return null directly.

Parameters ​

ParameterType
pagePage

Returns ​

null | EdgelessPageBlockComponent

Defined In ​

packages/blocks/src/_common/utils/query.ts:174