Vertical tabs using Angular UI

1,076 views
Skip to first unread message

KamBha

unread,
Mar 14, 2014, 9:23:16 PM3/14/14
to ang...@googlegroups.com
Hi,
Apologies if there is a better place for this query, but...

I want to use Angular-ui tabs and I want to render them so they are stacked (or vertical).  For example, what you will see here:-

http://jsfiddle.net/L9u2G/4/   (you may need to expand the results tab).

However, for me to do this means adding classes to the tab and I cannot see any way of doing this.  Is there anyway of getting these classes on the tabs?

Thanks.

Kamal.

Sander Elias

unread,
Mar 15, 2014, 3:30:18 AM3/15/14
to ang...@googlegroups.com
Hi KamBha,

I didn't look at your fiddle, but handling classes in angular is very well covered.
of course you can put an expression inside an normal class attribute.
like ```<myTabPane class='tabpane {{amIactive()}}'>```. 
or you can use ng-class

Regards
Sander
Reply all
Reply to author
Forward
0 new messages