UNPKG

lazy-widgets

Version:

Typescript retained mode GUI for the HTML canvas API

15 lines 438 B
import { WidgetEvent, PropagationModel } from './WidgetEvent.js'; /** * A generic event that bubbles up a UI tree. This is an abstract class and must * be implemented in child classes. * * @category Event */ export class BubblingEvent extends WidgetEvent { constructor(origin) { super(); this.propagation = PropagationModel.Bubbling; this.origin = origin; } } //# sourceMappingURL=BubblingEvent.js.map