UNPKG

happy-dom-without-node

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.

20 lines 542 B
import IBrowserFrame from '../types/IBrowserFrame.js'; /** * Browser frame factory. */ export default class BrowserFrameFactory { /** * Creates a new frame. * * @param parentFrame Parent frame. * @returns Frame. */ static createChildFrame(parentFrame: IBrowserFrame): IBrowserFrame; /** * Aborts all ongoing operations and destroys the frame. * * @param frame Frame. */ static destroyFrame(frame: IBrowserFrame): Promise<void>; } //# sourceMappingURL=BrowserFrameFactory.d.ts.map