Skip to content

BlockSuite API Documentation / @blocksuite/affine-block-callout

@blocksuite/affine-block-callout

Classes

CalloutBlockComponent

Extends

Constructors

Other

attributeRenderer
Get Signature

get attributeRenderer(): AttributeRenderer<AffineTextAttributes>

Returns

AttributeRenderer<AffineTextAttributes>

attributesSchema
Get Signature

get attributesSchema(): ZodType<any, ZodTypeDef, any>

Returns

ZodType<any, ZodTypeDef, any>

embedChecker
Get Signature

get embedChecker(): (delta) => boolean

Returns

(delta): boolean

Parameters
delta

DeltaInsert<AffineTextAttributes>

Returns

boolean

inlineManager
Get Signature

get inlineManager(): InlineManager<AffineTextAttributes>

Returns

InlineManager<AffineTextAttributes>

topContenteditableElement
Get Signature

get topContenteditableElement(): BlockComponent<BlockModel<object>, BlockService, string> | null

Returns

BlockComponent<BlockModel<object>, BlockService, string> | null

Overrides

CaptionedBlockComponent.topContenteditableElement

connectedCallback()

connectedCallback(): void

Returns

void

Overrides

CaptionedBlockComponent.connectedCallback

renderBlock()

renderBlock(): TemplateResult<1>

Returns

TemplateResult<1>

Overrides

CaptionedBlockComponent.renderBlock

attributes

controllers

dev-mode

lifecycle

properties

rendering

styles

updates

Functions

effects()

effects(): void

Returns

void


renderUniLit()

renderUniLit<Props, Expose>(uni, props?, options?): TemplateResult

Type Parameters

Props

Props

Expose

Expose extends object

Parameters

uni

UniComponent<Props, Expose> | undefined

props?

Props

options?
class?

string

ref?

Signal<Expose | undefined>

style?

Readonly<StyleInfo>

Returns

TemplateResult