Skip to content
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

beforeStart event has no information about btnGo clicked #46

Closed
roscopeeco opened this issue Nov 7, 2014 · 2 comments
Closed

beforeStart event has no information about btnGo clicked #46

roscopeeco opened this issue Nov 7, 2014 · 2 comments

Comments

@roscopeeco
Copy link

Hello,

I am integrating lazy loading of content with the slider and was attempting to use the beforeStart event to send off a content load request before the animation starts. So the content wouldn't necessarily be loaded before the animation starts but the request would at least have been made.

The problem is that the event paramenters are just the currently visible items and the slider direction.

Can this event be modified to provided a further parameter which is either the btnGo that was clicked or an array of the items that will be visible after the animation finishes?

Thanks

Ross

@kswedberg
Copy link
Owner

@roscopeeco: If I provide a parameter for the clicked button, would you want the actual DOM element or the index of that button among all the buttons?

@roscopeeco
Copy link
Author

Thanks for the reply...i think either would be great or both!!

cheers

Ross

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants