mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-22 19:43:53 +00:00
611 B
611 B
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