Tab ui on runtime

+2 votes
asked Feb 8, 2016 in Feature request by anonymous
Is posible to create Tabs on runtime?

1 Answer

+1 vote
answered Feb 9, 2016 by admin (31,720 points)
selected Feb 9, 2016 by admin
Best answer
Unfortunately there is currently no way to easily create (or remove) tabs at runtime, however it's been added to our feature list :)

~ Declan
commented Feb 23, 2016 by Storente

Related to Tabs (I think). Is it possible to know which tab was selected? For example I need to do something when tab 3 was clicked. Seems there's no event handlers available?


Thanks for suggestion!
commented Feb 23, 2016 by admin (31,720 points)
Hi, Well, no there is no event available for when a page is selected. You can use tabView.currentPage to access the currently selected page though ;) I've added the even to the feature list (can't say when it'll be implemented :/)
Welcome to MaterialUI support! Ask us anything :)