Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Can now target different scroller #1022

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Can now target different scroller #1022

wants to merge 2 commits into from

Conversation

fanmanpro
Copy link

Added an optional parameter to iScroll constructor in order to target a different scroller element instead of always using the first child element.

P.S. Might be better to make this an option instead of a parameter...

Added an optional parameter to iScroll in order to target a different scroller element instead of always using the first child element
Added: snapWait option that when set to true, you can only goToPage to the next section if the previous snap animation/transition finised.
Fixed: When snap is set to true and you mouseWheelScroll up at the first page or mouseWheelScroll down at the last page, you cannot scroll anymore. Should also improve performance of goToPage function in general.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant