Skip to content

BlockSuite API Documentation / @blocksuite/blocks / ElementCreationEvent

Interface: ElementCreationEvent

Extends

Properties

category?

optional category: string

Inherited from

TelemetryEvent.category

Defined in

packages/affine/shared/dist/services/telemetry-service.d.ts:8


control?

optional control: ElementCreationSource

Overrides

TelemetryEvent.control

Defined in

packages/affine/shared/dist/services/telemetry-service.d.ts:21


module?

optional module: "canvas" | "toolbar" | "ai chat panel"

Overrides

TelemetryEvent.module

Defined in

packages/affine/shared/dist/services/telemetry-service.d.ts:20


other?

optional other: unknown

Inherited from

TelemetryEvent.other

Defined in

packages/affine/shared/dist/services/telemetry-service.d.ts:9


page

page: "whiteboard editor"

Overrides

TelemetryEvent.page

Defined in

packages/affine/shared/dist/services/telemetry-service.d.ts:19


segment?

optional segment: "toolbar" | "whiteboard" | "right sidebar"

Overrides

TelemetryEvent.segment

Defined in

packages/affine/shared/dist/services/telemetry-service.d.ts:18


type?

optional type: string

Inherited from

TelemetryEvent.type

Defined in

packages/affine/shared/dist/services/telemetry-service.d.ts:7