uhtml
Version:
A micro HTML/SVG render
33 lines (32 loc) • 1.04 kB
TypeScript
export const _target: unique symbol;
export const _currentTarget: unique symbol;
export const _stoppedPropagation: unique symbol;
export const _stoppedImmediatePropagation: unique symbol;
export default class Event {
constructor(type: any, { bubbles, cancelable }?: {
bubbles?: boolean | undefined;
cancelable?: boolean | undefined;
});
get type(): any;
get bubbles(): boolean;
get cancelable(): boolean;
get target(): any;
get currentTarget(): any;
get defaultPrevented(): boolean;
preventDefault(): void;
stopPropagation(): void;
stopImmediatePropagation(): void;
[_type]: any;
[_bubbles]: boolean;
[_cancelable]: boolean;
[_target]: any;
[_currentTarget]: any;
[_defaultPrevented]: boolean;
[_stoppedPropagation]: boolean;
[_stoppedImmediatePropagation]: boolean;
}
declare const _type: unique symbol;
declare const _bubbles: unique symbol;
declare const _cancelable: unique symbol;
declare const _defaultPrevented: unique symbol;
export {};