You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to set the start index to 2 if there is overflow and 1 if not.
I can disable the arrows and drag, but setting the start index doesn't seems to be working.
I have tried with the following code.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I would like to set the start index to 2 if there is overflow and 1 if not.
I can disable the arrows and drag, but setting the start index doesn't seems to be working.
I have tried with the following code.
` const splide = new Splide('.splide', {
type: 'lazy',
focus: 'center',
trimSpace: 'move',
pagination: false,
padding: '5%',
autoWidth: true,
gap: '2rem',
});
Beta Was this translation helpful? Give feedback.
All reactions