InteractionData¶
Interface InteractionData
interface InteractionData {
modifier?: InteractionModifier;
origin?: any;
originalEvent?: Event;
pointerInfo?: PointerInfo;
targetID: number;
targetName?: string;
type?: InteractionType;
}
modifier?: InteractionModifier;
origin?: any;
originalEvent?: Event;
pointerInfo?: PointerInfo;
targetID: number;
targetName?: string;
type?: InteractionType;
}
Index
Properties
Optionalmodifier
The interaction modifier that is applied to the interaction.
Optionalorigin
origin?: any
Optional property storing information about where the interaction originated from (e.g. the DOM element that triggered the interaction).
Optionaloriginal Event
originalEvent?: Event
The original event that triggered the interaction.
Optionalpointer Info
Pointer information related to the interaction.
targetID
targetID: number
The ID of the target node or node collection that the interaction is applied to.
See
CollectionAPI for node collections as targetID
Optionaltarget Name
targetName?: string
Optional property for transporting the target's name to the interaction.
Optionaltype
Whether the target was interacted with via picking or by ID.
Contains the properties of an interaction.
See
InteractionAPI.processInteractionInput