Replies: 1 comment
-
Hi @FM1973 I came across this question myself recently, and there turned out to be the <Splide
aria-label="Partners"
extensions={{
AutoScroll
}}
options={{
... Not sure if this could be still useful for you as this is a post from almost half a year ago though. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I´m using splide in a typescript file. Works as expected.
I then wanted to use the "Autoscroll-Extension".
I´m importing splide and autoscroll like this:
import Splide from "@splidejs/splide" import {AutoScroll} from "@splidejs/splide-extension-auto-scroll";
My problem is when I try to mount splide like this:
splide.mount({ AutoScroll });
the compliler complains with the following error:
"Uncaught TypeError: Component is not a function"
Can someone please guide me in the right direction?
Beta Was this translation helpful? Give feedback.
All reactions