HTML UI Toolkit tabs component
HTML UI Toolkit tabs component - Create interactive tabs in JS.
Check out the example!
GeneralDogeKittensGeneral boring information here...wowsuch tabsI can haz tabs?
var tabs = ;var myTabs = ;// Select the first tabmyTabs;// Select the kittens tabmyTabs;
Creates a new tabs component and attaches the event handlers. It will return a
Tabs object. The first tab is automatically selected.
The DOM node for the currently selected
null if no
section is selected.
Selects a tab section. If
section is a number, it will select the section at
that index (for example
t.select(0) will select the first section). If
section is a DOM element, it will select the section with element. The
element must be one of the
Triggered when a new section is selected.
section will be the DOM node for
To change the style, change the variables defined in the
variables.css file or
override the styles with your own.