Skip to content

App

zcbenz edited this page · 22 revisions
Clone this wiki locally
Clone in Desktop

App API requires node-webkit >= v0.3.1

Synopsis

// Load native UI library
var gui = require('nw.gui');

// Print arguments
console.log(gui.App.argv);

// Quit current app
gui.App.quit();

Reference

argv

Get the command line arguments when starting the app.

quit()

Quit current app.

Something went wrong with that request. Please try again.