BlockSuite API Documentation / @blocksuite/blocks / ReferenceNodeConfig
Class: ReferenceNodeConfig
Constructors
new ReferenceNodeConfig()
new ReferenceNodeConfig():
ReferenceNodeConfig
Returns
Properties
_Doc
private
_Doc:null
|Doc
=null
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:16
_customContent
private
_customContent:null
| (reference
) =>TemplateResult
=null
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:12
_customIcon
private
_customIcon:null
| (reference
) =>TemplateResult
=null
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:7
_customTitle
private
_customTitle:null
| (reference
) =>string
=null
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:10
_interactable
private
_interactable:boolean
=true
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:18
Accessors
customContent
get
customContent():null
| (reference
) =>TemplateResult
Returns
null
| (reference
) => TemplateResult
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:32
customIcon
get
customIcon():null
| (reference
) =>TemplateResult
Returns
null
| (reference
) => TemplateResult
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:20
customTitle
get
customTitle():null
| (reference
) =>string
Returns
null
| (reference
) => string
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:24
doc
get
doc():null
|Doc
Returns
null
| Doc
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:28
interactable
get
interactable():boolean
Returns
boolean
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:36
Methods
setCustomContent()
setCustomContent(
content
):void
Parameters
• content: null
| (reference
) => TemplateResult
Returns
void
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:44
setCustomIcon()
setCustomIcon(
icon
):void
Parameters
• icon: null
| (reference
) => TemplateResult
Returns
void
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:48
setCustomTitle()
setCustomTitle(
title
):void
Parameters
• title: null
| (reference
) => string
Returns
void
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:52
setDoc()
setDoc(
doc
):void
Parameters
• doc: null
| Doc
Returns
void
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:56
setInteractable()
setInteractable(
interactable
):void
Parameters
• interactable: boolean
Returns
void
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:40