Accessible360 / accessible-slick

the last (accessible) carousel you'll ever need.
https://accessible360.github.io/accessible-slick
MIT License
254 stars 45 forks source link

Play/Pause Buttons aren't updated when using the slickPause/slickPlay Methods #91

Closed stevehvaughn closed 1 year ago

stevehvaughn commented 1 year ago

When using the slickPause method such as $(".slider").slick('slickPause') to pause an autoplaying slider the play/pause buttons on the front-end are not automatically updated, even though the autoplaying slider does in fact pause.

My solution currently is to do this right after calling the slickPause method. But would be nice if it happened as a result of that method as well.

$(".slider .slick-play-icon").css("display", "inline");
$(".slider .slick-pause-icon").css("display", "none");
stevehvaughn commented 1 year ago

Didn't see this issue was already opened by another user (issue #58 ). Closed for redundancy