Package-level declarations

Types

Link copied to clipboard
sealed interface DeltaMode
Link copied to clipboard
sealed interface MouseButton
Link copied to clipboard
sealed interface MouseButtons : Bitmask<MouseButtons>
Link copied to clipboard
open class MouseEvent(val type: EventType<MouseEvent>, init: MouseEventInit = definedExternally) : UIEvent

The MouseEvent interface represents events that occur due to the user interacting with a pointing device (such as a mouse).

Link copied to clipboard
Link copied to clipboard
open class WheelEvent(val type: EventType<WheelEvent>, init: WheelEventInit = definedExternally) : MouseEvent

The WheelEvent interface represents events that occur due to the user moving a mouse wheel or similar input device.

Link copied to clipboard

Properties

Link copied to clipboard

Auxiliary button pressed, usually the wheel button or the middle button (if present)

Auxiliary button (usually the mouse wheel button or middle button)

Link copied to clipboard
Link copied to clipboard

Fifth button, typically the Browser Forward button

5th button (typically the "Browser Forward" button)

Link copied to clipboard

Fourth button, typically the Browser Back button

4th button (typically the "Browser Back" button)

Link copied to clipboard

Main button pressed, usually the left button or the un-initialized state

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

No button or un-initialized

Link copied to clipboard

Primary button (usually the left button)

Link copied to clipboard

Secondary button pressed, usually the right button

Secondary button (usually the right button)

Link copied to clipboard

Functions

Link copied to clipboard