astro-swiper 2.5.2 → 2.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -118,10 +118,10 @@ Main Swiper element. Inherits all `HTMLAttributes<'div'>` (class...) attributes.
118
118
  | ---- | -----|-------- | -----------|
119
119
  | useCustomElement | boolean | true | when false, use a `<div>` to be as close as possible to swiperjs default. Use a custom element `<astro-swiper>` otherwise. |
120
120
  | thumbSwiperUniqueSelector | string starting with `#` or `.` | undefined | unique selector of the thumbnail swiper to link with, when using the thumbs module. When a thumbnail swiper is build, this parameter is provided on the main slider (the one with big slides, not the one to track the progress) and equal the unique selector of the thumbnail swiper (the one to track the progress). It is used to link the main swiper with the thumbnail swiper when using the thumbs module. |
121
- | intersectionObserver.initSwiper | boolean | false | true to initialize the swiper when the element appears in the screen |
122
- | intersectionObserver.disconnectOnInit | boolean | false | true to disconnect the observer once the swiper is initialized |
123
- | intersectionObserver.controlAutoplay | boolean | false | true to start and stop the autoplay when the swiper appears and disappears from the screen, respectively |
124
- | intersectionObserver.options | IntersectionObserverInit | undefined | cf. [mdn docs](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) |
121
+ | intersectionObserver<br>.initSwiper | boolean | false | true to initialize the swiper when the element appears in the screen |
122
+ | intersectionObserver<br>.disconnectOnInit | boolean | false | true to disconnect the observer once the swiper is initialized |
123
+ | intersectionObserver<br>.controlAutoplay | boolean | false | true to start and stop the autoplay when the swiper appears and disappears from the screen, respectively |
124
+ | intersectionObserver<br>.options | [Intersection Observer Init options](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) | undefined | cf. [mdn docs](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) |
125
125
 
126
126
  ### `<SwiperWrapper/>`
127
127
  Wrapper of all slides. Inherits all `HTMLAttributes<'div'>` (class...) attributes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-swiper",
3
- "version": "2.5.2",
3
+ "version": "2.5.3",
4
4
  "description": "Astro component for swiper, dedicated to slider / carousel / photo swiper / slide, including thumbnails",
5
5
  "type": "module",
6
6
  "main": "index.js",