Category: Dev Blog

NG-ZORRO Advanced - Customized Switching Strategy

June 04, 2019

In a previous refactoring of the carousel component, we separated code that actually does switching animations with other code. This approach not only make the component maintainable, but also makes it possible for users to implement their own switching strategies. This article would take a flip strategy as an example to show you how to leverage this advanced feature.