Customize splide__track #620
-
I’m using splide react. I want to add custom classes/styling to the splide__track. Is this possible? How? For example: I want to set overflow to visible to I cast a shadow around the cards. Right now, that card shadow is cut on the bottom and top |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The You can access the component by |
Beta Was this translation helpful? Give feedback.
The
Elements
component has a track element.https://splidejs.com/components/elements/
You can access the component by
Splide#Components
, likesplide.Components.Elements.track
.And the Splide instance is available from the ref object.
https://splidejs.com/integration/react-splide/#accessing-splide-instance