
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
@types/popup-window
Advanced tools
TypeScript definitions for popup-window
npm install --save @types/popup-window
This package contains type definitions for popup-window (https://github.com/webdeveric/popup-window#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/popup-window.
interface PopupWindowConfig {
name?: string | undefined;
width?: number | undefined;
height?: number | undefined;
left?: number | undefined;
top?: number | undefined;
menubar?: boolean | undefined;
toolbar?: boolean | undefined;
location?: boolean | undefined;
status?: boolean | undefined;
resizable?: boolean | undefined;
scrollbars?: boolean | undefined;
}
declare class PopupWindow {
readonly url: string;
readonly name: string;
constructor(url?: string, config?: PopupWindowConfig);
/**
* Open a new browser window.
*/
open(): PopupWindow;
/**
* Close the browser window.
*/
close(): PopupWindow;
/**
* Accepts a callback - the callback is called when the window is opened.
*/
opened(callback: (win: PopupWindow) => void): PopupWindow;
/**
* Accepts a callback - the callback is called when the window is closed.
*/
blocked(callback: (win: PopupWindow) => void): PopupWindow;
/**
* Accepts a callback - the callback is called when the window is blocked from opening.
*/
closed(callback: (win: PopupWindow) => void): PopupWindow;
}
export = PopupWindow;
These definitions were written by Aram Khachatrian.
FAQs
TypeScript definitions for popup-window
The npm package @types/popup-window receives a total of 1 weekly downloads. As such, @types/popup-window popularity was classified as not popular.
We found that @types/popup-window demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.