Topic: Tabs change by button

szczerbo pro asked 6 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:)

Ollie Vincent pro answered 6 years ago


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

szczerbo pro answered 6 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 6 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        

FREE CONSULTATION

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

Status

Closed

Specification of the issue

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