From 7a985a598960a97f4a6c0e29b36150fe2ea94bea Mon Sep 17 00:00:00 2001 From: Janne Julkunen Date: Wed, 23 May 2018 17:13:24 +0300 Subject: [PATCH] Removed incorrect configuration from example app tsconfig --- example/src/app/app.component.html | 4 ++-- example/src/app/app.component.ts | 4 ++++ example/src/tsconfig.json | 3 +-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/example/src/app/app.component.html b/example/src/app/app.component.html index b39d52c..de1aff4 100644 --- a/example/src/app/app.component.html +++ b/example/src/app/app.component.html @@ -28,7 +28,7 @@
Swiper
- +
{{slide}} @@ -36,7 +36,7 @@
-
+
diff --git a/example/src/app/app.component.ts b/example/src/app/app.component.ts index f0399c3..5277693 100644 --- a/example/src/app/app.component.ts +++ b/example/src/app/app.component.ts @@ -108,4 +108,8 @@ export class AppComponent { public onIndexChange(index: number): void { console.log('Swiper index: ', index); } + + public onTransitionEnd(event: any[]): void { + console.log('Swiper event: ', event); + } } diff --git a/example/src/tsconfig.json b/example/src/tsconfig.json index 0c3f2b3..35ad82c 100644 --- a/example/src/tsconfig.json +++ b/example/src/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../tsconfig.json", "compilerOptions": { - "outDir": "../dist", - "rootDir": "." + "outDir": "../dist" } }