Adds a tab or tabs.
Animates closing of the id.
Inserts tab into DOM before tab with id
click - click(id, [event])
Called when user clicks the tab.
Called when user clicks close button of the tab.
Disables a tab or tabs.
Called when user drags tabs to reorder.
enable - enable(id1, [id2], ...)
Enables a tab or tabs.
get - get(id, [returnIndex])
Finds and returns specified tab.
Generate HTML for the tab with id and returns it.
hide - hide(id1, [id2], ...)
Hides tab or tabs with id.
Initializes reorder when tabs is dragged
Inserts a tab or tabs before tab with id=before
remove - remove(id1, [id2], ...)
Removes tabs with id.
scroll - scroll(direction, [instant])
Scrolls tabs if they overflow.
Scrolls specified tab into the veiw.
Finds tab with id and makes it active.
Finds tab with id and extends it with tab object.
show - show(id1, [id2], ...)
Shows tab or tabs with id.
Hides tooltip of the tab with id.
Shows tooltip of the tab with id.
Destroys the widget and removes it from the global w2ui object
off - off(type, [handler])
Removes event listener from the object.
Adds event listener to a object.
Refreshes the widget or a specific part of it
Renders the widget into the specified HTML element
Resizes the widget to fit its container
Executes all event listeners added with on() method.
Unmounts the widget and cleans up resources