focusPrevious method
void
focusPrevious()
Navigate menu focus up.
Implementation
void focusPrevious() {
focusIndex.value = (focusIndex.value - 1 + 3) % 3;
}
Navigate menu focus up.
void focusPrevious() {
focusIndex.value = (focusIndex.value - 1 + 3) % 3;
}