在我的应用程序中,我在几个地方遇到过这样的情况:
假设我在旋转木马中有3件物品。我正在查看第2项。我需要重新加载这个旋转木马,所以我执行以下操作:
Ext.getCmp('carousel_name').removeAll();
var new_objects = (bunch of code that recreates the carousel's objects again, with the same IDs; this is the same code that was used to create the objects the first time, so
我设置了一个覆盖光滑的旋转木马,所以当您单击该图像时,会出现一个较大的旋转木马,所选的图像作为initialSlide。然而,光滑的旋转木马在initialSlide之后添加了几张空白幻灯片。只有在单击“下一步”以第三张幻灯片开始时,才会出现空白。单击前一个按钮时,将不会出现空白幻灯片。我做错了什么?
$("#sync1 .item").on("click", function() {
var index = $(this).attr("data-slick-index");
$(".overlay-carousel-c