@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.cjs
CHANGED
|
@@ -6226,6 +6226,10 @@ class Slider {
|
|
|
6226
6226
|
bullets.appendChild(bullet);
|
|
6227
6227
|
}
|
|
6228
6228
|
}
|
|
6229
|
+
else {
|
|
6230
|
+
// additionally hide bullets container for single slide
|
|
6231
|
+
bullets.classList.add("hidden");
|
|
6232
|
+
}
|
|
6229
6233
|
// const onUpdateActiveIndex = (activeIndex: number) => {
|
|
6230
6234
|
// if (activeIndex >= 0 && activeIndex < count) {
|
|
6231
6235
|
// for (const bullet of bullets.querySelectorAll(".cards-slider__bullet--active")) {
|