UNPKG

@lynx-js/offscreen-document

Version:

Offscreen Document allows developers to use particular DOM in WebWorker

14 lines (13 loc) 507 B
import type { OffscreenElement } from './OffscreenElement.js'; export declare const propagationStopped: unique symbol; export declare const eventPhase: unique symbol; export declare class OffscreenEvent extends Event { private _target; [eventPhase]: Event['eventPhase']; constructor(type: string, _target: OffscreenElement); get target(): OffscreenElement; [propagationStopped]: boolean; stopImmediatePropagation(): void; stopPropagation(): void; get eventPhase(): number; }