Pointer Engine Event Data
The EngineEvent type used for pointer events.
Constructors
Properties
On "pointerdown", "pointerup", and "click" , this property indicates the device button whose state change caused the event to fire. -1: Neither buttons nor touch/pen contact changed since last event. 0: Left Mouse, Touch contact, Pen contact. 1: Middle Mouse. 2: Right Mouse, Pen barrel button. 3: X1 (back) Mouse 4: X2 (forward) Mouse 5: Pen eraser button
If the event was related to a media resource in the publication such as an image, audio or video resource. It contains additional information about the media resource and methods to access media content.
The type of engine event object this JSON structure represents.
Indicates the device type (mouse, pen, or touch) that caused a given pointer event.
Describes how the reader document acted on the event.
The client X coordinate relative to the window width. Typically a number between 0 and 1.
The client Y coordinate relative to the window height. Typically a number between 0 and 1.
The global screen X coordinate relative to the screen width. Typically a number between 0 and 1.
The global screen Y coordinate relative to the screen height. Typically a number between 0 and 1.
Contains additional information about the original event target, such as the targeted node in the reader document.
The type of event.
If the event was emitted due to a user generated event.