【发布时间】:2016-02-22 02:34:19
【问题描述】:
我现在正在搜索几个小时,关于如何使用 node-webkit 将变量传递给新打开的窗口。
任务非常简单(如 HTTP POST),但在 nwj (node-webkit) 文档中没有关于此的消息。
我用来打开新窗口的代码:
var win = gui.Window.open ('print.html', {
position: 'center',
width: 901,
height: 127
});
win.on ('loaded', function(){
// the native onload event has just occurred
var document = win.window.document;
});
谢谢!
【问题讨论】:
标签: javascript variables parameters node-webkit window-object