Skip to content

EasyScrollDots 2.0.0

Compare
Choose a tag to compare
@Superhands89 Superhands89 released this 17 Feb 22:07
· 24 commits to master since this release
4e628f6

Version 2.0.0
*Breaking change: Anchor points now should wrap each section rather than appear before each section. This makes the active dot much more accurate according to the section beginning and end. This is achieved by dynamically adding a placeholder final section and always looking at the previous section rather than the current one; the benefit of this is we don't need to measure the height of any section.
*Removed unnecessary use of scroll-indicator class name as we can just look for the data attribute.
*Removed legacy jQuery fall-back support.
*We are querying the DOM for indiElement only once now rather than unnecessarily querying twice.