redraw/dom/event/pointer
The PointerEvent
interface represents the state of a DOM event produced by
a pointer such as the geometry of the contact point, the device type that
generated the event, the amount of pressure that was applied on the contact
surface, etc.
A pointer is a hardware agnostic representation of input devices (such as a mouse, pen or contact point on a touch-enable surface). The pointer can target a specific coordinate (or set of coordinates) on the contact surface such as a screen.
A pointer’s hit test is the process a browser uses to determine the target element for a pointer event. Typically, this is determined by considering the pointer’s location and also the visual layout of elements in a document on screen media.
Types
pub type PointerEvent
Values
pub const as_mouse_event: fn(PointerEvent) -> mouse.MouseEvent
PointerEvent
inherits MouseEvent
.
pub const as_ui_event: fn(PointerEvent) -> ui.UIEvent
PointerEvent
inherits UIEvent
.