Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dwm/src/core/event.ts>WindowMouseEvent

Deno Window Manager: Cross-platform window creation and management
Go to Latest
class WindowMouseEvent
extends WindowEvent
import { WindowMouseEvent } from "https://deno.land/x/dwm@0.2.0/src/core/event.ts";

Event is triggered when mouse state changes

Constructors

new
WindowMouseEvent(
name: string,
window: DwmWindow,
altKey: boolean,
button: number,
buttons: number,
clientX: number,
clientY: number,
ctrlKey: boolean,
metaKey: boolean,
movementX: number,
movementY: number,
region: number,
screenX: number,
screenY: number,
shiftKey: boolean,
)

Properties

offsetX: number
offsetY: number
readonly
pageX
readonly
pageY
readonly
x
readonly
y