How to create a custom Transition when loading Splide as a normal script (not as module) #590
-
The documentation describes how to create a custom Transition when you load Splide as a module. Hovewer it seems there is no way to create custom Transition if you're loading Splide as a simple script. Yes, you have global variable |
Beta Was this translation helpful? Give feedback.
Answered by
NaotoshiFujita
Jan 5, 2022
Replies: 1 comment
-
The // Instead:
bind( list, 'transitionend', e => {
} );
// to:
list.addEventListener( 'transitionend', e => {
} ); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NaotoshiFujita
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
EventInterface
is just an utility. You can still use a native method like