freya::events

Module pointer

Source

Structs§

Enums§

  • The type of device that triggered a Pointer event.

Functions§

  • The globalpointerup event fires when the user releases the point anywhere in the app.
  • The pointerdown event fires when the user clicks/starts touching an element.
  • The pointerenter event fires when the user starts hovering/touching an element.
  • The pointerleave event fires when the user stops hovering/touching an element.
  • The pointermove event fires when the user moves the cursor or touches over an element. Unlike onpointerenter, this fires even if the user was already hovering over the element.
  • The pointerpress event fires when the user starts and ends a click with their mouse button or starts and stops touching the element.
  • The pointerup event fires when the user releases their mouse button or stops touching the element.