Skip to content

BlockSuite API Documentation / @blocksuite/block-std / EventSourceState

Class: EventSourceState

Extends

Constructors

new EventSourceState(__namedParameters)

new EventSourceState(__namedParameters): EventSourceState

Parameters

__namedParameters: EventSourceStateOptions

Returns

EventSourceState

Overrides

UIEventState.constructor

Source

packages/framework/block-std/src/event/state/source.ts:19

Properties

event

event: Event

Inherited from

UIEventState.event

Source

packages/framework/block-std/src/event/base.ts:11


sourceType

readonly sourceType: EventScopeSourceType

Source

packages/framework/block-std/src/event/state/source.ts:18


type

type: string = 'sourceState'

when extends, override it with pattern xxxState

Overrides

UIEventState.type

Source

packages/framework/block-std/src/event/state/source.ts:17