Tab component for Electron
Find a file
2016-11-01 13:53:19 +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 Add ready callbacks for TabGroup and Tab 2016-11-01 13:53:19 +01:00
LICENSE Initial commit 2016-10-27 22:37:40 +02:00
package.json Bump version 0.2.0 2016-10-31 18:09:42 +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