Accessible360/accessible-slick

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

Closed this issue · 1 comments

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");

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