-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API or event preventDefault to cancel slide #11
Comments
Hi Stephen, Im out and about at the minute but i did implement this into the FSVS2 Demo: https://github.com/lukesnowden/FSVS/blob/development/assets/js/bundle.js#L253 You might be able to use some of the code here. Will try take a look later regards Luke Snowden On Monday, 2 February 2015 at 16:36, Stephen James wrote:
|
Awesome! Will look into. Thanks for the quick response. |
just add the class |
First, thanks Luke for creating this.
I'm working on a demo for my company's Fuel UX controls and am using your plugin. There's a lot of scrolling
<pre><code>
in the project. The scrolling of the<pre>
triggers the scrolling of the FSVS slides.I looked for a way to disable slide and couldn't find one. I wrote a hack to disable FSVS on mouseover of
<pre>
with a global flag, but had to editmouseWheelHandler()
. Do you have a suggestion for implementing this? I don't mind creating a pull request, but would be interested in knowing the architecture you'd want.My suggestion would be to be able to disable slide from within
beforeSlide
. Something like areturn false
that would allow my app to decide whether the animation occurs. Any thoughts?The text was updated successfully, but these errors were encountered: