Ngx-bootstrap: How to Hide the tab header?

Created on 30 Mar 2018  路  2Comments  路  Source: valor-software/ngx-bootstrap

How to Hide the tab header?

as i want to control tab switching outside

comp(tabs) question

Most helpful comment

@IlyaSurmay Above solution hides entire tab component. Looking to hide only one of the tabs based on some condition. Any ideas how to achieve that?

All 2 comments

There's no need to open an issue here if you want to ask general question, use StackOverflow or Slack instead

There's no special option in tab component that hides tab headers, but you can achieve it with css, just apply display: none to .nav-tabs

Example - https://stackblitz.com/edit/angular-e5er3u?file=app/basic.html

@IlyaSurmay Above solution hides entire tab component. Looking to hide only one of the tabs based on some condition. Any ideas how to achieve that?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PascalHonegger picture PascalHonegger  路  3Comments

RolfVeinoeSorensen picture RolfVeinoeSorensen  路  3Comments

ctrl-brk picture ctrl-brk  路  3Comments

pgeyman picture pgeyman  路  3Comments

Scooviese picture Scooviese  路  3Comments