w2tabs.set

Finds tab with id and extends it with tab object.
set(id, tab)
id string, id of the tab object
tab object, new tab object
Returns boolean.

Description

The first argument id is the id of the tab object you used when you created tabs. The .tabs array holds all created tab objects. The tab object is not replaced with tab, but extended by it. If you call this method it during run-time, you will need to call .refresh() method. If tab object was successfully extended the method will return true, otherwise false.
If you have tabs defined in the following way: You can add tabs:

User Comments

comments powered by Disqus