Skip to content

@ue-too/board / index / RawUserInputEventMap

型別別名: RawUserInputEventMap

RawUserInputEventMap = object

定義於: packages/board/src/input-interpretation/raw-input-publisher/raw-input-publisher.ts:99

Mapping of event names to their payload types.

備註

This type enables type-safe event subscription:

  • Subscribe to specific events ("pan", "zoom", "rotate") to receive only those payloads
  • Subscribe to "all" to receive all events with discriminated type property

屬性

all

all: RawUserInputEvent

定義於: packages/board/src/input-interpretation/raw-input-publisher/raw-input-publisher.ts:103


pan

pan: RawUserPanInputEventPayload

定義於: packages/board/src/input-interpretation/raw-input-publisher/raw-input-publisher.ts:100


rotate

rotate: RawUserRotateInputEventPayload

定義於: packages/board/src/input-interpretation/raw-input-publisher/raw-input-publisher.ts:102


zoom

zoom: RawUserZoomInputEventPayload

定義於: packages/board/src/input-interpretation/raw-input-publisher/raw-input-publisher.ts:101