BlockSuite API Documentation / @blocksuite/blocks / ReferenceNodeConfig
Class: ReferenceNodeConfig
Constructors
new ReferenceNodeConfig(undefined)
new ReferenceNodeConfig():
ReferenceNodeConfig
Returns
Properties
_customContent
private
_customContent:null
| (reference
) =>TemplateResult
=null
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:10
_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:9
_interactable
private
_interactable:boolean
=true
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:14
_page
private
_page:null
|Page
=null
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:13
Accessors
customContent
get
customContent():null
| (reference
) =>TemplateResult
Returns
null
| (reference
) => TemplateResult
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:28
customIcon
get
customIcon():null
| (reference
) =>TemplateResult
Returns
null
| (reference
) => TemplateResult
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:16
customTitle
get
customTitle():null
| (reference
) =>string
Returns
null
| (reference
) => string
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:20
interactable
get
interactable():boolean
Returns
boolean
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:32
page
get
page():null
|Page
Returns
null
| Page
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:24
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:40
setCustomIcon()
setCustomIcon(
icon
):void
Parameters
• icon: null
| (reference
) => TemplateResult
Returns
void
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:44
setCustomTitle()
setCustomTitle(
title
):void
Parameters
• title: null
| (reference
) => string
Returns
void
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:48
setInteractable()
setInteractable(
interactable
):void
Parameters
• interactable: boolean
Returns
void
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:36
setPage()
setPage(
page
):void
Parameters
• page: null
| Page
Returns
void
Source
packages/blocks/src/_common/inline/presets/nodes/reference-node/reference-config.ts:52
Generated using TypeDoc and typedoc-plugin-markdown.