Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 432 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 432 Bytes

Singleton window

Sample that shows how to use the window API in an app to have a "singleton" window app.

The app keeps track of its window in the background page. If none exists, or if it's closed, it creates a new one. Otherwise it re-focuses the existing one via chrome.app.window.focus().

APIs