anchor-scroll
Smooth scrolling for anchor links using scroll-to-element
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install anchor-scroll --save
Usage
anchorScroll = ; anchorScroll; anchorScroll;
Dependencies
- closest: Find the closest parent that matches a selector.
- object-assign: ES6 Object.assign() ponyfill
- scroll-to-element: Smooth scrolling to an element via selector or node reference
License
MIT