{
item.active = false;
indexToToggle = (index === (myArr.length - 1)) ? 0 : index + 1;
}
});
myArr[indexToToggle].active = true;
thank you very much, ill give it a try!
replace myArr with your array, i think its cams
Обсуждают сегодня