We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98e1d1a commit ab35026Copy full SHA for ab35026
src/slider/AutomaticSliderShowWebcomponent.ts
@@ -23,7 +23,7 @@ export class AutomaticSliderShowWebcomponent extends BaseCustomWebComponentConst
23
24
.slideshow-container{
25
grid-area: 1 / 1 / 2 / 2;
26
- width: calc(100% - 20px);
+ width: 100%;
27
height: 100%;
28
border: 1px solid grey;
29
overflow: hidden;
@@ -109,7 +109,7 @@ export class AutomaticSliderShowWebcomponent extends BaseCustomWebComponentConst
109
110
connectedCallback() {
111
this._observer.observe(this, { childList: true });
112
- this._interval = parseInt(this.getAttribute('interval'));
+ this._interval = parseInt(this.getAttribute('interval')) || this._interval;
113
this._initializeSlider();
114
}
115
0 commit comments