Skip to content

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

Class: EventSourceState

Extends

Constructors

new EventSourceState()

new EventSourceState(__namedParameters): EventSourceState

Parameters

__namedParameters

EventSourceStateOptions

Returns

EventSourceState

Overrides

UIEventState.constructor

Defined in

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

Properties

event

event: Event

Inherited from

UIEventState.event

Defined in

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


sourceType

readonly sourceType: EventScopeSourceType

Defined in

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


type

type: string = 'sourceState'

when extends, override it with pattern xxxState

Overrides

UIEventState.type

Defined in

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