How to Use Swiper in Angular 20 and Change Direction Based on Language

A Swiper carousel that flips direction instantly when switching between English (LTR) and Arabic (RTL).