trigger update immediately

pull/1222/head
Cory LaViska 2023-03-03 10:55:53 -05:00
rodzic 8f17bf4e9d
commit 76fd7aa28d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -221,8 +221,8 @@ export default class SlCarousel extends ShoelaceElement {
// Reinitialize the carousel if a carousel item has been added or removed
if (needsInitialization) {
this.initializeSlides();
this.requestUpdate();
}
this.requestUpdate();
}
@watch('loop', { waitUntilFirstUpdate: true })