Skip to content

Add tabsLiContent and tabsPostProcessors options

Compare
Choose a tag to compare
@mikejacobson mikejacobson released this 03 Dec 19:27
· 20 commits to master since this release
761cfc3

Fixes issue #45.

Allows, via the new tabsLiContent option, custom HTML to be specified for each tab's li element.

Allows, via the new tabsPostProcessors option, post-processing functions to be specified for each tab. When a tab's li element has been created, its post-processing function will be called with two arguments: the newly created $li and $a jQuery elements for that tab.

This plunk demonstrates both new features:
http://plnkr.co/edit/ugJLMk7lmDCuZQziQ0k0