switchAtView method

void switchAtView()

Implementation

void switchAtView() {
  isGrid.value = !isGrid.value;
}