trigger update immediately

This commit is contained in:
Cory LaViska
2023-03-03 10:55:53 -05:00
parent 8f17bf4e9d
commit 76fd7aa28d

View File

@@ -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 })