Skip to content

Instantly share code, notes, and snippets.

@kuc-arc-f
Created June 5, 2014 11:48
Embed
What would you like to do?
function click_sub()
{
chrome.app.window.create(
'sub.html',
{id: "browserSlideID",
bounds: {
'width' : 1024,
'height': 600
}
}
, function(appWin) {
appWin.contentWindow.addEventListener('DOMContentLoaded',
function(e) {
console.log( '#.DOMContentLoaded' );
appWin.show();
}
)
}
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment