Skip to content

BlockSuite API Documentation / @blocksuite/blocks / createDefaultPage

Function: createDefaultPage()

createDefaultPage(workspace, options): Page

Parameters

workspace: Workspace

options: Object= {}

options.id?: string

options.title?: string

Returns

Page

Source

packages/blocks/src/_common/utils/init.ts:3


Generated using TypeDoc and typedoc-plugin-markdown.