# anchor-scroller
⚓️ Smoothly scroll to `#anchors`

## Features
* ... Scrolls to anchors
* Stops scrolling if the user scrolls
* Doesn't try to scroll past the end

It doesn't sound like much but it's actually really nice 😁
## Usage
1) **Include the library**

Can be done [with NPM](https://github.com/semlette/anchor-scroller/wiki/Using-Anchor-Scroller#as-global-variable) or [from a CDN](https://github.com/semlette/anchor-scroller/wiki/Using-Anchor-Scroller#as-global-variable)

2) **Initialize the AnchorScroll class and you're done!**
```javascript
new AnchorScroller();
```

*[You should check out the more in-depth usage guide](https://github.com/semlette/anchor-scroller/wiki/Using-Anchor-Scroller#options).*

# anchor-scroller
⚓️ Smoothly scroll to `#anchors`

## Features
* ... Scrolls to anchors
* Stops scrolling if the user scrolls
* Doesn't try to scroll past the end

It doesn't sound like much but it's actually really nice 😁
## Usage
1) **Include the library**

Can be done [with NPM](https://github.com/semlette/anchor-scroller/wiki/Using-Anchor-Scroller#as-global-variable) or [from a CDN](https://github.com/semlette/anchor-scroller/wiki/Using-Anchor-Scroller#as-global-variable)

2) **Initialize the AnchorScroll class and you're done!**
```javascript
new AnchorScroller();
```

[The more in-depth usage guide](https://github.com/semlette/anchor-scroller/wiki/Using-Anchor-Scroller) also has documentation on the [options](https://github.com/semlette/anchor-scroller/wiki/Using-Anchor-Scroller#options) and [methods](https://github.com/semlette/anchor-scroller/wiki/Using-Anchor-Scroller#methods).

Update `more in-depth usage guide` line
Update `more in-depth usage guide` line