Tabs change by button


Topic: Tabs change by button

szczerbo pro asked 7 years ago

Hello, is there any way to switch Tab to next or previous tab via button? I put the "next" and "previous" buttons to the content below tabs. It should work like:
  1. click to "next" - next tab content is shown, and next tab is set as active,
  2. click to "previous" - previous tab content is shown, previous tab is set as active,
I saw, on the site bottom (https://mdbootstrap.com/angular/components/tabs/) something about Events, but it's not that I want to achieve. hope for help:)

szczerbo pro answered 7 years ago

I found, at your site, solution for this question:

https://mdbootstrap.com/support/changing-tab-from-typescript/

It works pretty well:)


Ollie Vincent pro answered 7 years ago

Hi, Currently there isn't a functionality for that. I would try taking something else with the functionality you want and try modifying it (such as styling). Have you looked at these links? https://mdbootstrap.com/angular/advanced/carousel/#multi-item https://mdbootstrap.com/angular/components/steppers        

Ollie Vincent pro answered 7 years ago

Ah sorry - I misunderstood :) glad you found a solution

FREE CONSULTATION

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

Status

Closed

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No