Tab component for Electron
Find a file
2016-10-31 16:13:44 +01:00
.gitignore Initial commit 2016-10-27 22:37:40 +02:00
.jshintrc Initial commit 2016-10-27 22:37:40 +02:00
index.js Working tabs (experimental) 2016-10-31 15:53:50 +01:00
LICENSE Initial commit 2016-10-27 22:37:40 +02:00
package.json Package.json update 2016-10-31 16:13:44 +01:00
README.md Add minimal documentation 2016-10-31 16:10:14 +01:00

electron-tabs

Simple tabs for Electron applications

WARNING: this module is in development and is not stable yet. Don't use it in your app.

Exemple

HTML:

<section class="main">
	<div class="tabs"></div>
	<div class="views"></div>
</section>

Javascript:

const TabGroup = require("electron-tabs");

let tabGroup = new TabGroup({
    tabContainerSelector: ".tabs",
    viewContainerSelector: ".views"
});

let tab = tabGroup.addTab({
    title: "Electron",
    src: "http://electron.atom.io"
});

License

The MIT License (MIT) - Copyright (c) 2016 Thomas Brouard