Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

olineham/react-chrome-app-window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-chrome-app-window

A React component wrapping chrome.app.window.create allowing your React-based Chrome App to span windows

Import:

ChromeAppWindow = require('react-chrome-app-window')

JSX:

<ChromeAppWindow url="index.html"
  onClosed={this.myCloseHandler}
  options={{id: "my-window", resizable: true, frame: {color: "#00ff00"}}}
  componentId="optional-mount-point">
  <p>Children and {variables} will update just like they would on a single page.</p>
</ChromeAppWindow>

About

A React component wrapping chrome.app.window.create allowing your React-based Chrome App to span windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published