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/types.d.ts:8


control?

optional control: ElementCreationSource

Overrides

TelemetryEvent.control

Defined in

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


module?

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

Overrides

TelemetryEvent.module

Defined in

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


other?

optional other: unknown

Inherited from

TelemetryEvent.other

Defined in

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


page

page: "whiteboard editor"

Overrides

TelemetryEvent.page

Defined in

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


segment?

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

Overrides

TelemetryEvent.segment

Defined in

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


type?

optional type: string

Inherited from

TelemetryEvent.type

Defined in

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