adding serviceItem and index to the slides variables

This commit is contained in:
Chris Cochrun 2022-07-16 07:27:48 -05:00
parent 964eefb7de
commit f4d034fe7c
3 changed files with 46 additions and 14 deletions

View file

@ -175,11 +175,11 @@ Item {
nextSlide();
}
} else if (itemType === "video") {
clearText();
/* clearText(); */
nextSlide();
}
else if (itemType === "image") {
clearText();
/* clearText(); */
nextSlide();
}
}
@ -201,11 +201,11 @@ Item {
--textIndex;
}
} else if (itemType === "video") {
clearText();
/* clearText(); */
previousSlide();
}
else if (itemType === "image") {
clearText();
/* clearText(); */
previousSlide();
}
}