BlockSuite API Documentation / @blocksuite/blocks / DocDisplayMetaExtension
Interface: DocDisplayMetaExtension
Customize document display title and icon.
Supports the following blocks:
- Inline View:
AffineReference
- Card View:
EmbedLinkedDocBlockComponent
EmbedEdgelessLinkedDocBlockComponent
- Embed View:
EmbedSyncedDocBlockComponent
EmbedEdgelessSyncedDocBlockComponent
Properties
icon()
icon: (
docId
,referenceInfo
?) =>Signal
<TemplateResult
>
Parameters
docId
string
referenceInfo?
Returns
Signal
<TemplateResult
>
Defined in
packages/affine/shared/dist/services/doc-display-meta-service.d.ts:27
title()
title: (
docId
,referenceInfo
?) =>Signal
<string
>
Parameters
docId
string
referenceInfo?
Returns
Signal
<string
>
Defined in
packages/affine/shared/dist/services/doc-display-meta-service.d.ts:28