Skip to content

Commit

Permalink
fix(readme): add unpkg instructions (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan authored May 1, 2018
1 parent 45e0fd8 commit e4b1d64
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ This used to be a [ponyfill](https://ponyfill.com) for
yarn add scroll-into-view-if-needed
```

The UMD build is also available on [unpkg](https://unpkg.com/scroll-into-view-if-needed/umd/):

```html
<script src="https://unpkg.com/scroll-into-view-if-needed/umd/scroll-into-view-if-needed.min.js"></script>
```

You can find the library on `window.scrollIntoView`.

## Usage

```js
Expand Down

0 comments on commit e4b1d64

Please sign in to comment.