How we add set play and pause button as single rather than two

Created on 13 July 2023, 12 months ago
Updated 25 September 2023, 9 months ago

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

✨ Feature request
Status

Fixed

Version

1.0

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @pankaj1390
  • Status changed to Fixed 11 months ago
  • 🇮🇩Indonesia gausarts

    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.

  • 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/

  • Status changed to Active 11 months ago
  • 🇮🇩Indonesia gausarts

    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.
  • Status changed to Fixed 9 months ago
  • 🇮🇩Indonesia gausarts

    Please follow up here:
    📌 Splide v4 Needs review

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

Production build 0.69.0 2024