rpocklin / ui-router-tabs

Idiot-proof tab panes with route support using Angular.js + Bootstrap 3 + UI Router
Other
244 stars 57 forks source link

Feature request #50

Open zloidemon opened 8 years ago

zloidemon commented 8 years ago

Add extra data to the tab like icon/counter/label (numbers) by callback.

rpocklin commented 8 years ago

Happy to accept a PR for this, possibly with a different template file to allow it to be an opt-in feature. Counter should be updatable too.

rpocklin commented 8 years ago

If we get a few +1s on here, or if you will consider a bounty (https://www.bountysource.com/) otherwise I don't quite have the time i'm afraid.

airo commented 8 years ago

+1

rksgsn commented 8 years ago

+1

4ware commented 8 years ago

+1

tuxysuse commented 8 years ago

+1

cmorgant commented 8 years ago

+1 :)

rpocklin commented 8 years ago

Ok enough +1s :) Just not sure when it'll happen, need to get the existing PRs looked at first.

rpocklin commented 8 years ago

Got the basics done, if someone wants to do the CSS for the positioning I can stick it up on a branch, i'm just short of time.

rpocklin commented 8 years ago

No one seems keen. For now i'll focus on the BS 1.2.x update.

viniciussalvati commented 7 years ago

Wouldn't it be easier to simply have a way to apply generic html to the uib-tab-heading? That way we could have any content we wanted. It would just be nice to write the heading html in the actual html and not in the middle of our JS.

If you're ok with this, I could try implementing it and send a PR