API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

classInteractionEvent

@codexo/exojs / input / stable

DOM-Event-shaped envelope dispatched by InteractionManager to interactive scene nodes. Bubbles up the parent chain — `target` stays pinned to the hit-deepest node while `currentTarget` advances to each ancestor that receives the event. Handlers may call InteractionEvent.stopPropagation to halt the bubble.

7
props
1
methods
0
events
Import
import { InteractionEvent } from '@codexo/exojs'

DOM-Event-shaped envelope dispatched by InteractionManager to interactive scene nodes. Bubbles up the parent chain — `target` stays pinned to the hit-deepest node while `currentTarget` advances to each ancestor that receives the event. Handlers may call InteractionEvent.stopPropagation to halt the bubble.

Constructors 1
new(type: InteractionEventType, target: RenderNode, pointer: Pointer, worldX: number, worldY: number): InteractionEvent
Methods 1
stopPropagation(): void
Properties 7
currentTarget: RenderNode
pointer: Pointer
target: RenderNode
type: InteractionEventType
worldX: number
worldY: number
propagationStopped: boolean
Source