I grabbed the code from this thread to simulate a carousel using the card layout in Ext JS 6.5.3 - Classic Toolkit (see fiddle here), but I'm having trouble with the animation. When one clicks on the navigation tabs, the new card slides into view, but the old card simply disappears. I'd like for the old card to slide out of view, but using slideOut() instead of hide() throws an error (slideOut() is not a function).
The other thing I'm struggling with is achieving center mode in the simulated carousel, so that the current card is centered and the previous and next cards are visible (but have lower opacity) and are clickable (can be used to navigate). Here's what I mean:
carousel-centered.png
Any help would be very appreciated.
Edit: Progress made on sliding the old card out of frame, but the styling question remains.