d-oliveros / ngSmoothScroll

AngularJS directives for animating smooth scrolling to elements.
276 stars 110 forks source link

PR to support smooth scrolling within custom containers #32

Closed zephinzer closed 9 years ago

zephinzer commented 9 years ago
  1. Added in the ability to scroll within custom containers via the options parameter in the smoothScroll() function.
  2. Modified the directives smoothScroll and scrollTo to accept a new attribute 'container-id' which will then be added to the options passed to the smoothScroll() function.
  3. Optimized the code base by placing declaration of variables in the animation loop outside of the loop.
  4. Changed if-else statements in getEasingPattern() to switch statements to improve performance.
  5. Updated the README.md to reflect the relevant changes.
  6. Bumped the version number to 1.7.3 in bower.json.
d-oliveros commented 9 years ago

Great, thanks @zephinzer! :+1: