search API (or start typing anywhere)
MouseEvent
mint.types.MouseEvent
typedef
Members
yrel
yrel : Int
The relative y position if
state
is move
or a window has grabbed statey
y : Int
The y position in the window of the mouse event
xrel
xrel : Int
The relative x position if
state
is move
or a window has grabbed statex
x : Int
The x position in the window of the mouse event
timestamp
timestamp : Float
The time in seconds when this mouse event occurred, useful for deltas
state
state : mint.types.InteractState
The state this event is in
button
button : mint.types.MouseButton
The button id, if the event
state
is down
or up
bubble
bubble : Bool
Whether or not the event should bubble further. set to false to stop propagation