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
when I run simple code as that in the controller
$('.banner .slides').responsiveSlides({
auto: false,
pager: true,
nav: true,
pauseControls: true,
prevText: "Previous",
nextText: "Next"
});
its working and i see the slides
but if i"m change route and then return to the slides route, the same command run again
$('.banner .slides').responsiveSlides({
auto: false,
pager: true,
nav: true,
pauseControls: true,
prevText: "Previous",
nextText: "Next"
});
and the slides not working. changing route causing it not work.
I think I need to destroy the plugin and then to initiate it again.
what can I do to resolve it?
I didn't find way to destory the instance to start all over again from fresh
because the problem is the second time I initialize to slides. (first time working good)
anyone know how to handle it?
The text was updated successfully, but these errors were encountered:
when I run simple code as that in the controller
$('.banner .slides').responsiveSlides({
auto: false,
pager: true,
nav: true,
pauseControls: true,
prevText: "Previous",
nextText: "Next"
});
its working and i see the slides
but if i"m change route and then return to the slides route, the same command run again
$('.banner .slides').responsiveSlides({
auto: false,
pager: true,
nav: true,
pauseControls: true,
prevText: "Previous",
nextText: "Next"
});
and the slides not working. changing route causing it not work.
I think I need to destroy the plugin and then to initiate it again.
what can I do to resolve it?
I didn't find way to destory the instance to start all over again from fresh
because the problem is the second time I initialize to slides. (first time working good)
anyone know how to handle it?
The text was updated successfully, but these errors were encountered: