UNPKG

lazy-widgets

Version:

Typescript retained mode GUI for the HTML canvas API

17 lines 545 B
import { KeyEvent } from './KeyEvent.js'; /** * A key release {@link KeyEvent} (key up). * * @category Event */ export class KeyReleaseEvent extends KeyEvent { constructor(key, shift, ctrl, alt, virtual, target) { super(key, shift, ctrl, alt, virtual, target); this.type = KeyReleaseEvent.type; } cloneWithTarget(target) { return new KeyReleaseEvent(this.key, this.shift, this.ctrl, this.alt, this.virtual, target); } } KeyReleaseEvent.type = 'key-release'; //# sourceMappingURL=KeyReleaseEvent.js.map