BlockSuite API Documentation / @blocksuite/blocks / QuickSearchService
Interface: QuickSearchService
Properties
searchDoc()
searchDoc: (
options
) =>Promise
<QuickSearchResult
>
Parameters
• options
• options.action?: "insert"
• options.skipSelection?: boolean
• options.trigger?: "edgeless-toolbar"
| "shortcut"
| "slash-command"
• options.userInput?: string
Returns
Promise
<QuickSearchResult
>
Defined in
packages/affine/shared/dist/services/quick-search-service.d.ts:2