From f7417d1e13c088b7631175cc25ef8c9e1b9d4494 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Sat, 12 Aug 2017 15:03:42 -0400 Subject: [PATCH] fix(overlays): grab correct animal controller component --- packages/core/src/components/action-sheet/action-sheet.tsx | 2 +- packages/core/src/components/loading/loading.tsx | 2 +- packages/core/src/components/modal/modal.tsx | 2 +- packages/core/src/components/popover/popover.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/src/components/action-sheet/action-sheet.tsx b/packages/core/src/components/action-sheet/action-sheet.tsx index a2bcfff5ea..db6064a598 100644 --- a/packages/core/src/components/action-sheet/action-sheet.tsx +++ b/packages/core/src/components/action-sheet/action-sheet.tsx @@ -27,7 +27,7 @@ export class ActionSheet { @Event() private ionActionSheetDidDismiss: EventEmitter; @Event() private ionActionSheetDidUnload: EventEmitter; - @Prop({ connect: 'ion-animation' }) animationCtrl: AnimationController; + @Prop({ connect: 'ion-animation-controller' }) animationCtrl: AnimationController; @Prop({ context: 'config' }) config: Config; @Prop() cssClass: string; diff --git a/packages/core/src/components/loading/loading.tsx b/packages/core/src/components/loading/loading.tsx index 76d34884e3..32862e0a25 100644 --- a/packages/core/src/components/loading/loading.tsx +++ b/packages/core/src/components/loading/loading.tsx @@ -32,7 +32,7 @@ export class Loading { @State() private showSpinner: boolean = null; @State() private spinner: string; - @Prop({ connect: 'ion-animation' }) animationCtrl: AnimationController; + @Prop({ connect: 'ion-animation-controller' }) animationCtrl: AnimationController; @Prop({ context: 'config' }) config: Config; @Prop() cssClass: string; @Prop() content: string; diff --git a/packages/core/src/components/modal/modal.tsx b/packages/core/src/components/modal/modal.tsx index 06fb09133b..e080c986a9 100644 --- a/packages/core/src/components/modal/modal.tsx +++ b/packages/core/src/components/modal/modal.tsx @@ -27,7 +27,7 @@ export class Modal { @Event() ionModalDidDismiss: EventEmitter; @Event() ionModalDidUnload: EventEmitter; - @Prop({ connect: 'ion-animation' }) animationCtrl: AnimationController; + @Prop({ connect: 'ion-animation-controller' }) animationCtrl: AnimationController; @Prop() mode: string; @Prop() color: string; @Prop() component: string; diff --git a/packages/core/src/components/popover/popover.tsx b/packages/core/src/components/popover/popover.tsx index 1008502f7f..cd4175c5f4 100644 --- a/packages/core/src/components/popover/popover.tsx +++ b/packages/core/src/components/popover/popover.tsx @@ -29,7 +29,7 @@ export class Popover { @Event() private ionPopoverDidDismiss: EventEmitter; @Event() private ionPopoverDidUnload: EventEmitter; - @Prop({ connect: 'ion-animation' }) animationCtrl: AnimationController; + @Prop({ connect: 'ion-animation-controller' }) animationCtrl: AnimationController; @Prop({ context: 'config' }) config: Config; @Prop() mode: string;