UNPKG

box-chrome-sdk

Version:

A Chrome App SDK for the Box V2 API

14 lines (12 loc) 313 B
// Listens for the app launching then creates the window chrome.app.runtime.onLaunched.addListener(function() { var width = 500; var height = 300; chrome.app.window.create('index.html', { id: 'box', bounds: { width: width, height: height } }); });