UNPKG

lazy-widgets

Version:

Typescript retained mode GUI for the HTML canvas API

16 lines 424 B
import { BubblingEvent } from './BubblingEvent.js'; /** * An event that is fired when specific widgets are clicked, such as the * {@link Button} widget. * * @category Event */ export class ClickEvent extends BubblingEvent { constructor(origin) { super(origin); this.type = ClickEvent.type; this.userCapturable = true; } } ClickEvent.type = 'click'; //# sourceMappingURL=ClickEvent.js.map