parent
ed1cbb97a2
commit
b17c494e27
2 changed files with 6 additions and 2 deletions
|
@ -17,7 +17,11 @@
|
||||||
//const TabGroup = require('electron-tabs') normally but for demo :
|
//const TabGroup = require('electron-tabs') normally but for demo :
|
||||||
const TabGroup = require("../index");
|
const TabGroup = require("../index");
|
||||||
|
|
||||||
let tabGroup = new TabGroup();
|
let tabGroup = new TabGroup({
|
||||||
|
newTab: {
|
||||||
|
title: 'New Tab'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
tabGroup.addTab({
|
tabGroup.addTab({
|
||||||
title: 'Google',
|
title: 'Google',
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.etabs-tabs {
|
.etabs-tabs {
|
||||||
float: left;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.etabs-tab {
|
.etabs-tab {
|
||||||
|
@ -40,6 +39,7 @@
|
||||||
|
|
||||||
.etabs-tab.visible {
|
.etabs-tab.visible {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.etabs-tab.active {
|
.etabs-tab.active {
|
||||||
|
|
Loading…
Reference in a new issue