happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
15 lines • 545 B
TypeScript
import BrowserWindow from './BrowserWindow.js';
/**
* Extends classes with a "window" property, so that they internally can access it's Window context.
*
* By using WindowBrowserContext, the classes can get access to their Browser context, for accessing settings or navigating the browser.
*/
export default class WindowClassExtender {
/**
* Extends classes with a "window" property.
*
* @param window Window.
*/
static extendClass(window: BrowserWindow): void;
}
//# sourceMappingURL=WindowClassExtender.d.ts.map