You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I distinguish if the scrolling event has acquired because of wheel scroll event, by drag and move or by clicking the circle on FullPage.js with autoScrolling={true}?
I want to make an animation when you use the wheel to change the slide.
I want to use silentMoveTo(section, slide) if you click on the circle.
something like this
onleave(origin, destination, direction) { if (event.onWheel) { console.log("wheel went") return true } if (event.onScroll) { console.log("onScroll ") return true } if (event.onClick) { console.log("onClick") return true } }
The text was updated successfully, but these errors were encountered:
You have mentioned in StackOverflow that I can create my own click events or use my own global variables to achieve that.
I tried to use the window.addEventListener to capture the event I want but that not possible when using autoScrolling.
Can you provide me with an example of what you mean? pier in mind I'm using React.
How can I distinguish if the scrolling event has acquired because of wheel scroll event, by drag and move or by clicking the circle on FullPage.js with autoScrolling={true}?
I want to make an animation when you use the wheel to change the slide.
I want to use silentMoveTo(section, slide) if you click on the circle.
something like this
onleave(origin, destination, direction) { if (event.onWheel) { console.log("wheel went") return true } if (event.onScroll) { console.log("onScroll ") return true } if (event.onClick) { console.log("onClick") return true } }
The text was updated successfully, but these errors were encountered: