44 * Encapsulates the shared behaviour that was previously duplicated across the
55 * Carousel and Testimonials components:
66 *
7- * - Embla initialisation / teardown (with optional Autoplay plugin)
8- * - Animation-lifecycle store integration (reduced-motion, visibility, user prefs )
7+ * - Embla initialization / teardown (with optional Autoplay plugin)
8+ * - Animation-lifecycle store integration (reduced-motion, visibility, user preferences )
99 * - IntersectionObserver viewport gating (pause when off-screen)
1010 * - Focus-visible pause management
1111 * - Previous / Next navigation button wiring
@@ -51,7 +51,7 @@ export abstract class EmblaCarouselBase extends LitElement {
5151 protected abstract queryElements ( ) : EmblaElementHandles
5252
5353 /**
54- * Hook called after successful base initialisation .
54+ * Hook called after successful base initialization .
5555 * Subclasses can wire up component-specific behaviour here
5656 * (keyboard handling, autoplay toggle buttons, status regions, etc.).
5757 */
@@ -125,12 +125,12 @@ export abstract class EmblaCarouselBase extends LitElement {
125125
126126 // ────────────────────── Protected read-only accessors ──────────────────────
127127
128- /** The live Embla API instance, or `null` before initialisation . */
128+ /** The live Embla API instance, or `null` before initialization . */
129129 protected get emblaApi ( ) : EmblaCarouselType | null {
130130 return this . _emblaApi
131131 }
132132
133- /** Whether the carousel was successfully initialised . */
133+ /** Whether the carousel was successfully initialized . */
134134 protected get isInitialized ( ) : boolean {
135135 return this . _initialized
136136 }
@@ -145,7 +145,7 @@ export abstract class EmblaCarouselBase extends LitElement {
145145 return this . _animationInstanceId
146146 }
147147
148- /** The Embla viewport element, or `null` before initialisation . */
148+ /** The Embla viewport element, or `null` before initialization . */
149149 protected get viewport ( ) : HTMLElement | null {
150150 return this . _viewport
151151 }
@@ -225,7 +225,7 @@ export abstract class EmblaCarouselBase extends LitElement {
225225 this . teardown ( )
226226 }
227227
228- // ────────────────────── Initialisation ──────────────────────
228+ // ────────────────────── initialization ──────────────────────
229229
230230 private initialize ( ) : void {
231231 if ( this . _initialized ) return
0 commit comments