BlockSuite API Documentation / @blocksuite/blocks / TemplateManager
Interface: TemplateManager
Methods
categories()
categories():
string
[] |Promise
<string
[]>
Returns
string
[] | Promise
<string
[]>
Source
packages/blocks/src/root-block/edgeless/components/toolbar/template/template-type.ts:19
extend()?
optional
extend(manager
):void
Parameters
• manager: TemplateManager
Returns
void
Source
packages/blocks/src/root-block/edgeless/components/toolbar/template/template-type.ts:23
list()
Parameters
• category: string
Returns
Template
[] | Promise
<Template
[]>
Source
packages/blocks/src/root-block/edgeless/components/toolbar/template/template-type.ts:17
search()
search(
keyword
,category
?):Template
[] |Promise
<Template
[]>
Parameters
• keyword: string
• category?: string
Returns
Template
[] | Promise
<Template
[]>
Source
packages/blocks/src/root-block/edgeless/components/toolbar/template/template-type.ts:21
Generated using TypeDoc and typedoc-plugin-markdown.