Skip to content

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

Class: EventSourceState

Defined in: packages/framework/block-std/src/event/state/source.ts:16

Extends

Constructors

new EventSourceState()

new EventSourceState(__namedParameters): EventSourceState

Defined in: packages/framework/block-std/src/event/state/source.ts:21

Parameters

__namedParameters

EventSourceStateOptions

Returns

EventSourceState

Overrides

UIEventState.constructor

Properties

event

event: Event

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

Inherited from

UIEventState.event


sourceType

readonly sourceType: EventScopeSourceType

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


type

type: string = 'sourceState'

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

when extends, override it with pattern xxxState

Overrides

UIEventState.type