This is the first tab's content..

And this is the second tab's content...


Using the `isDefault:true` parameter on the second tab

This is the first tab's content..

And this is the second tab's content...

And this is the third tab's content...


Using the `keyForRestore` option, allowing to restore the last used tab whenever the tabs component gets re-rendered

(The tab recently selected will be restored upon re-rendering)

This is the first tab's content..

And this is the second tab's content...

And this is the third tab's content...

Btw.. `keyForRestore` and `isDefault` can be combined:

This is the first tab's content..

And this is the second tab's content...

And this is the third tab's content

This tab is preselected ONCE when the tabs get rendered first-time.

Thereafter, whatever tab was selected last, that one will get restored whenever the tabs get destroyed & re-rendered

The `forceSelected` attribute on a tab can be used to override the `isDefault` and last-selected mechanism

This is the first tab's content..

This is the second tab (isDefault=true)

And this is the third tab's content

This tab is preselected ONCE when the tabs get rendered first-time.

Thereafter, whatever tab was selected last, that one will get restored whenever the tabs get destroyed & re-rendered

« Back