Tabs are a less frequent but sill an important UI element of your application. Usually, you do not need more then one set of tabs, but it is often required to be able to add/remove, enable/disable, show/hide tabs dynamically. The tabs objects provides this funcitonality.
Tab: tab1


Some tabs can be permanent, some tabs can be dynamic (closable). You can create new tabs dynamically.

JavaScript APIs

All functionality can be accessed from JavaScript in short, human-readable commands.

Clean Syntax

If it is easy to define a widget, it is easier to avoid mistakes. The code is clean and easy to read, as you can see below.

The Code

Since the tab object only provides tab strip, you need second div for tab content. Here are two divs that you need:

User Comments

comments powered by Disqus