ECMAScript 2015 web-app that create tabs view control.
Created with WebStorm IDE
npm install
gulp
orgulp serve
to build an optimized version of your application in/dist
and launch a browser sync server on your source filesgulp clean
to clean/dist
foldergulp build
to build an optimized version of your application in/dist
<div id="tabsView"></div>
let element = document.getElementById('tabsView'),
tabs = new TabsView(element);
let element = document.getElementById('tabsView'),
tabs = new TabsView(element,{
hashNav: false, //set true to activate hash navigation to save tabs state
draggable: false, //set true if you want be able to sort tabs with drag and drop
beforeInit:function(){},
afterInit:function(){}
}
});