Splidejs / splide

Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.
https://splidejs.com
MIT License
4.83k stars 418 forks source link

RTL FIx #1326

Closed wisamidris7 closed 1 week ago

wisamidris7 commented 2 weeks ago

Checks

Version

latest

Description

RTL not working

Reproduction Link

No response

Steps to Reproduce

Yes not working

Expected Behaviour

To work

wisamidris7 commented 2 weeks ago

I have seen a similar issue but there are another issues the mobile touch not working and wrong direction and if you can to make different js file like bootstrap.rtl.css and bootstrap.css and you make it for both js and css

wisamidris7 commented 1 week ago

Thanks @NaotoshiFujita I figured that there are a option named

var splide = new Splide('.splide', {
direction: "rtl"
});
splide.mount();

But I think it would be better to make a alone sample for only RTL cause I was lost how to make it