lazy-widgets
Version:
Typescript retained mode GUI for the HTML canvas API
17 lines • 518 B
JavaScript
import { StickyEvent } from './StickyEvent.js';
/**
* Signals to a {@link Root} that the pointer is no longer hovering it. This
* will result in new {@link LeaveEvent | LeaveEvents} being dispatched to
* hovered {@link Widget | Widgets}.
*
* @category Event
*/
export class LeaveRootEvent extends StickyEvent {
constructor() {
super();
this.type = LeaveRootEvent.type;
this.userCapturable = false;
}
}
LeaveRootEvent.type = 'leave-root';
//# sourceMappingURL=LeaveRootEvent.js.map