mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Added arrows for navigating through steps
This commit is contained in:
@@ -88,4 +88,19 @@ manualUploadBtn.addEventListener('click', () => {
|
||||
console.log(error);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
stepButtons.forEach(btn => {
|
||||
btn.addEventListener("click", () => {
|
||||
const step = btn.dataset.step;
|
||||
showStep(step);
|
||||
});
|
||||
});
|
||||
|
||||
prevBtn.addEventListener("click", () => {
|
||||
if (currentStep > 1) showStep(currentStep - 1);
|
||||
});
|
||||
|
||||
nextBtn.addEventListener("click", () => {
|
||||
if(currentStep < totalSteps) showStep(currentStep + 1);
|
||||
});
|
||||
Reference in New Issue
Block a user