diff --git a/demo/app.js b/demo/app.js new file mode 100644 index 0000000..920790d --- /dev/null +++ b/demo/app.js @@ -0,0 +1,16 @@ +const electron = require('electron'); +const app = electron.app; + +app.setName('electron-tabs-demo'); + + +app.on('ready', function () { + + const mainWindow = new electron.BrowserWindow(); + mainWindow.loadURL('file://' + __dirname + '/electron-tabs.html'); + mainWindow.on('ready-to-show', function () { + mainWindow.show(); + mainWindow.focus(); + }); + +}); diff --git a/demo/electron-tabs.html b/demo/electron-tabs.html new file mode 100644 index 0000000..6799d19 --- /dev/null +++ b/demo/electron-tabs.html @@ -0,0 +1,36 @@ + + + +
+ + + + +