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"
}
}