Topic: Multiple Rotating Cards Example

Brandon Franklin pro asked 7 years ago


Do you have an example or some instructions on how to use multiple rotating cards on a single page so they rotate individually from one another? Tried updating the data-card attribute for each one, but they all still toggle 1 of the 3 cards to rotate. Thanks!

Dawid Adach pro answered 7 years ago


Dear Brandon,

sure! If you want to use multiple cards please adjust following lines in each card:

<mdb-card-rotating #card2>

and

(click)="card2.toggle()"

so each card should have it's own ID i.e. cardX where X are sequencial numbers.



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: No
  • Provided link: No
Tags