I am trying to create a horizontal scroller, which can be controlled both ways,
- By arrows
- By a mouse or touch scroll
Both are done, but there is one problem which I am trying to achieve but couldn't understand how to do it.
I want to trigger a function on horizontal scroll so that I can hide and unhide the arrow button by scrolling with mouse and touch scroll too. How can I do that? or any other way?
horizontal Scroller, here is the code of horizontal scroller, which I have achieved yet
Any type of help will be appreciated. Thank You!