@lynx-js/offscreen-document
Version:
Offscreen Document allows developers to use particular DOM in WebWorker
11 lines (10 loc) • 363 B
TypeScript
import { type OffscreenElement } from './OffscreenElement.js';
export declare class OffscreenCSSStyleDeclaration {
/**
* @private
*/
private readonly _parent;
constructor(parent: OffscreenElement);
setProperty(property: string, value: string, priority?: 'important' | undefined | ''): void;
removeProperty(property: string): void;
}