How can I create tabs using typescript and html?


#1

Hello guys,

How can I create a regular HTML div & typescript tab on Ionic?

I want to have several html tabs at the top of my ionic page.
and I want to each tab to have different contents…

Is there any way? I don’t want to use stock ionic tab which requires several pages. Everything should be done on a single html page.

Thanks,


#2

Try the Segment component:


#3

Thanks a lot… this works amazingly well!