onQuestionPrev method
Implementation
void onQuestionPrev(FoQuestionModel question) {
activeIndex = model.questions.indexOf(question);
if (activeIndex > 0) {
activeIndex--;
activeQuestion = model.questions[activeIndex];
}
}
void onQuestionPrev(FoQuestionModel question) {
activeIndex = model.questions.indexOf(question);
if (activeIndex > 0) {
activeIndex--;
activeQuestion = model.questions[activeIndex];
}
}