Sometimes you just want one card to transition to another, with no interaction from the user, and after a certain period of time.
For example, this card will transition to the next card after 10 seconds.
This card will automatically transition to the third card after 20 seconds, by calling a user defined function with some simple counting logic in it. The user defined function simply returns a string containing the name of the next card to render.
But if you click the button, you'll transition back to the first card, and the automatic transition won't happen.
That's it! This card has been displayed {counter} time[s].
It will automatically transition back to the first after 5 seconds.