From 8dce50ea2fb9b16a86d8ea1e0455d611999611c8 Mon Sep 17 00:00:00 2001 From: Janne Julkunen Date: Sun, 20 May 2018 19:10:03 +0300 Subject: [PATCH] Added missing init emitting for the component --- src/lib/swiper.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/swiper.component.ts b/src/lib/swiper.component.ts index c8ba7fe..f1c6d28 100644 --- a/src/lib/swiper.component.ts +++ b/src/lib/swiper.component.ts @@ -120,6 +120,8 @@ export class SwiperComponent implements AfterViewInit, OnDestroy { window.setTimeout(() => { if (this.directiveRef) { + this.S_INIT.emit(); + this.directiveRef.indexChange = this.indexChange; SwiperEvents.forEach((eventName: SwiperEvent) => {