lazy-widgets
Version:
Typescript retained mode GUI for the HTML canvas API
24 lines (23 loc) • 762 B
TypeScript
import { TricklingEvent } from './TricklingEvent.js';
import type { Widget } from '../widgets/Widget.js';
/**
* A {@link TricklingEvent} which cannot be targeted.
*
* @category Event
*/
export declare abstract class UntargetableTricklingEvent extends TricklingEvent {
/**
* The target of this event. Since this is an untargetable event, this will
* always be null.
*/
readonly target: null;
/**
* Internal flag. Marks a class as having warned the user that the event is
* untergetable in the case that the event is cloned with a target set.
*
* @internal
*/
static __lw_internal_targetWarned: boolean;
constructor(reversed?: boolean);
protected warnUntargetable(target: Widget | null): void;
}