@inappstory/slide-api 0.1.30 → 0.1.31
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.
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6224,6 +6224,10 @@ class Slider {
|
|
|
6224
6224
|
bullets.appendChild(bullet);
|
|
6225
6225
|
}
|
|
6226
6226
|
}
|
|
6227
|
+
else {
|
|
6228
|
+
// additionally hide bullets container for single slide
|
|
6229
|
+
bullets.classList.add("hidden");
|
|
6230
|
+
}
|
|
6227
6231
|
// const onUpdateActiveIndex = (activeIndex: number) => {
|
|
6228
6232
|
// if (activeIndex >= 0 && activeIndex < count) {
|
|
6229
6233
|
// for (const bullet of bullets.querySelectorAll(".cards-slider__bullet--active")) {
|