Skip to content

rzubov/tabsView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tabs View Layout

ECMAScript 2015 web-app that create tabs view control.

Created with WebStorm IDE

alt tag

Installation

npm install

Use Gulp tasks

  • gulp or gulp serve to build an optimized version of your application in /dist and launch a browser sync server on your source files
  • gulp clean to clean /dist folder
  • gulp build to build an optimized version of your application in /dist

Usage

 <div id="tabsView"></div>
let element = document.getElementById('tabsView'),
    tabs = new TabsView(element);

Options

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(){}
      }
    });

About

ECMAScript 2015 web-app that create tabs view control.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published