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

Update() callback #562

Open
thinsoldier opened this issue Jan 14, 2014 · 0 comments
Open

Update() callback #562

thinsoldier opened this issue Jan 14, 2014 · 0 comments

Comments

@thinsoldier
Copy link

On smaller screen sizes I want to change the aspect ratio of the slideshow to be about 1/3 taller. It is possible to change the options.height value and then call update() manually. But when trying to do this in response to a window resize, sometimes my manual height change and call to update happens and then the built in height change and update call happens which overrides my manual call. And other times it happens the other way around and I see my desired change.

It would be more consistent if I could pass a function to be run after every time slidesjs runs its update() function.

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

1 participant