I am using Splide in a view now i want to show auto play and pause slider with a single button but currently its showing dirrent button for play and pause. How we can set both button as a single button without writing jQuery in Drupal admin

CommentFileSizeAuthor
#3 play-pause-button.png13.99 KBpankaj1390

Comments

pankaj1390 created an issue. See original summary.

gausarts’s picture

Category: Bug report » Support request
Priority: Critical » Normal
Status: Active » Fixed

It is a library's feature :)

This module is a facilitator, not creator.

It only provides a single custom Arrow down, not play, pause, etc.

Feel free to ask for it at the library issues.

Cheers.

pankaj1390’s picture

StatusFileSize
new13.99 KB

Hi @gausarts When we checked autoplay its added play/pause button (see play-pause-button.png) in the slider but i want combined these button into a single button on click it can play and pause see the link:https://splidejs.com/guides/autoplay/

gausarts’s picture

Category: Support request » Feature request
Status: Fixed » Active

That is a better report, thank you :)

You deserve a credit.

Consider using issue templates next time to help us both understand the issues better, right at the top of the Body textarea. I hate formalism, but that formal template helps me a lot.

Details are important and helpful.

FYI, this module was created with lower versions, no such toggle things exist before, not remembered which one.

And nobody use autoplay for sliders these days except you :)

That toggle is a new feature. You should mark it a feature request, then.

Solutions:

  • Override splide.html.twig.
  • Wait for someone to provide you a patch.
  • Or you can contribute a patch yourself.
gausarts’s picture

Status: Active » Fixed
Parent issue: » #3384337: Splide v4

Please follow up here:
#3384337: Splide v4

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.