w2tabs.animateInsert

Inserts tab into DOM before tab with id
animateInsert(id, tab)
id string, id of the tab to insert before
tab Object, tab object
Returns promise.

Description

This method is called internally to insert tab into DOM. It only inserts it into DOM, it does not insert into .tabs array. It is an internal method, but you can overwrite it for custom functionality.

User Comments

comments powered by Disqus