diff --git a/README.md b/README.md index 524a233..fdb5b7e 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,14 @@ * CSS property [scroll-snap-type](https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-type) for snapping * CSS property [scroll-behavior](https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior) for smooth JS scrolling * `loading` attribute for [Native Lazy Loading](https://web.dev/native-lazy-loading/) -* compatible with [lazysizes.js](https://github.com/aFarkas/lazysizes) +* Compatible with [lazysizes.js](https://github.com/aFarkas/lazysizes) * [Custom Events](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) -* it was named as `native-gallery` to become [Custom Element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) in the future +* It was named as `native-gallery` to become [Custom Element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) in the future +* Disadvantages: circular scrolling is [not implemented yet](https://github.com/korywka/native-gallery/pulls) 🤷♀️ -## Usage +## Usage + +npm package: [native-gallery](https://www.npmjs.com/package/native-gallery) ```javascript import NativeGallery from 'native-gallery'; diff --git a/example/index.html b/example/index.html index be41643..5957b19 100644 --- a/example/index.html +++ b/example/index.html @@ -9,6 +9,11 @@
+ + + + +