From 6142b1acad1d96e9a3b2b7349d612c939698737f Mon Sep 17 00:00:00 2001 From: Stian Didriksen Date: Tue, 1 May 2018 23:54:27 +0200 Subject: [PATCH] fix(readme): add unpkg instructions --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 16255ecbf..e9ddfb444 100644 --- a/README.md +++ b/README.md @@ -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 + +``` + +You can find the library on `window.scrollIntoView`. + ## Usage ```js