lazy-widgets
Version: 
Typescript retained mode GUI for the HTML canvas API
15 lines (14 loc) • 438 B
TypeScript
import { BubblingEvent } from './BubblingEvent.js';
import type { Widget } from '../widgets/Widget.js';
/**
 * An event that is fired when specific widgets are clicked, such as the
 * {@link Button} widget.
 *
 * @category Event
 */
export declare class ClickEvent extends BubblingEvent {
    static readonly type = "click";
    readonly type: typeof ClickEvent.type;
    readonly userCapturable: true;
    constructor(origin: Widget);
}