UNPKG

lazy-widgets

Version:

Typescript retained mode GUI for the HTML canvas API

18 lines 503 B
import { ModifierEvent } from './ModifierEvent.js'; /** * A pointer {@link TricklingEvent}. * * Has a focus type decided by the child classes and does not need focus. * * @category Event */ export class PointerEvent extends ModifierEvent { constructor(x, y, shift, ctrl, alt, source, target = null) { super(shift, ctrl, alt, target); this.needsFocus = false; this.x = x; this.y = y; this.source = source; } } //# sourceMappingURL=PointerEvent.js.map