Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant