UNPKG

lazy-widgets

Version:

Typescript retained mode GUI for the HTML canvas API

17 lines 522 B
import { TargetableTricklingEvent } from './TargetableTricklingEvent.js'; /** * An event which contains the state of modifier keys. This is an abstract class * and must be implemented in child classes. * * @category Event */ export class ModifierEvent extends TargetableTricklingEvent { constructor(shift, ctrl, alt, target) { super(target); this.userCapturable = true; this.shift = shift; this.ctrl = ctrl; this.alt = alt; } } //# sourceMappingURL=ModifierEvent.js.map