kopia lustrzana https://github.com/shoelace-style/shoelace
trigger update immediately
rodzic
8f17bf4e9d
commit
76fd7aa28d
|
@ -221,8 +221,8 @@ export default class SlCarousel extends ShoelaceElement {
|
||||||
// Reinitialize the carousel if a carousel item has been added or removed
|
// Reinitialize the carousel if a carousel item has been added or removed
|
||||||
if (needsInitialization) {
|
if (needsInitialization) {
|
||||||
this.initializeSlides();
|
this.initializeSlides();
|
||||||
this.requestUpdate();
|
|
||||||
}
|
}
|
||||||
|
this.requestUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
@watch('loop', { waitUntilFirstUpdate: true })
|
@watch('loop', { waitUntilFirstUpdate: true })
|
||||||
|
|
Ładowanie…
Reference in New Issue