Created
January 31, 2020 14:08
-
-
Save PreyK/253df454441edb6d64e3c34f515bd07c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function OnNavButton(s) { | |
switch (s) { | |
case "3D": | |
console.log("Switched to 3d"); | |
break; | |
case "filter": | |
console.log("Switched to filters"); | |
break; | |
case "levels": | |
console.log("Switched to levels"); | |
break; | |
case "list": | |
console.log("Switched to list"); | |
break; | |
default: | |
break; | |
} | |
} | |
function toggleRoom(roomNum, isOn) { | |
console.log("filtering flats with "+roomNum+" is "+isOn); | |
} | |
function OnSizeSliderChanged(min, max) { | |
console.log("filtering flats with size min: "+min+" max: "+max); | |
} | |
function OnPriceSliderChanged(min, max) { | |
console.log("filtering flats with price min: "+min+" max: "+max); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment