Topic: Tabs and Router Outlet

Ignacio Mariano Chiodo pro asked 7 years ago


Hi ! I'm having some troubles using tabs with router outlet...For example, in this tabs:
<mdb-tabset #staticTabs [buttonClass]="'nav-tabs tabs-3'" [contentClass]="'card'">
<mdb-tab heading="'Profile'
"></mdb-tab>

  <mdb-tab heading="'Follow'"></mdb-tab>     

   <mdb-tab heading="'Contact'"></mdb-tab>
<mdb-tabset>
</mdb-tabset>
<router-outlet></router-outlet>

 

Where should i put the [routerLink]="['/routes']" ?Thank you very much !



What i wanted to do was to use routing with tabs, but i already solved it by using something like this: https://mdbootstrap.com/support/tabs-and-navigation/ Thank you very much for your answer! Greetings!

Damian Gemza staff answered 7 years ago


Hello, Dear Ignacio, could you tell me more about your's problem? What do you expect to do ?? After clicks  ['/routes'] - what is expected behavior ? Without more infos, i can't help you.   Best Regards, Damian

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags