Skip to content

BlockSuite API Documentation / @blocksuite/blocks / createDefaultPage

Function: createDefaultPage()

createDefaultPage(workspace, options): Promise<Page>

Parameters

workspace: Workspace

options: Object= {}

options.id?: string

options.title?: string

Returns

Promise<Page>

Source

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


Generated using TypeDoc and typedoc-plugin-markdown.