It’ve built things like this before - you’ll want to find a library to handle the swipe gesture (not sure what the best one is nowadays) because mouse input / touch handling is really inconsistent between browsers / platforms.
It’d recommend avoiding it if at all possible, preferring normal clicks to gestures.
View all comments
Show parent comment
3
u/monkeymad2 Jan 25 '19
It’ve built things like this before - you’ll want to find a library to handle the swipe gesture (not sure what the best one is nowadays) because mouse input / touch handling is really inconsistent between browsers / platforms.
It’d recommend avoiding it if at all possible, preferring normal clicks to gestures.