Struct yew::html::MouseData
[−]
[src]
pub struct MouseData { pub screen_x: f64, pub screen_y: f64, pub client_x: f64, pub client_y: f64, }
A type representing data from onclick
and ondoubleclick
event.
Fields
screen_x: f64
The screenX read-only property of the MouseEvent property provides the horizontal coordinate (offset) of the mouse pointer in global (screen) coordinates.
screen_y: f64
The screenY read-only property of the MouseEvent property provides the vertical coordinate (offset) of the mouse pointer in global (screen) coordinates.
client_x: f64
The clientX read-only property of the MouseEvent interface provides the horizontal coordinate within the application's client area at which the event occurred
client_y: f64
The clientY read-only property of the MouseEvent interface provides the vertical coordinate within the application's client area at which the event occurred