refactor(animation): remove ion-animation-controller (#16842)

This commit is contained in:
Manu MA
2018-12-21 13:17:42 +01:00
committed by GitHub
parent 93671797a6
commit 8b140306ef
27 changed files with 91 additions and 142 deletions

View File

@ -29,7 +29,6 @@ export class Nav implements NavOutlet {
@Prop({ context: 'queue' }) queue!: QueueApi;
@Prop({ context: 'config' }) config!: Config;
@Prop({ context: 'window' }) win!: Window;
@Prop({ connect: 'ion-animation-controller' }) animationCtrl!: HTMLIonAnimationControllerElement;
/** @internal */
@Prop() delegate?: FrameworkDelegate;
@ -779,13 +778,12 @@ export class Nav implements NavOutlet {
const animationOpts: TransitionOptions = {
mode: this.mode,
showGoBack: this.canGoBackSync(enteringView),
animationCtrl: this.animationCtrl,
queue: this.queue,
window: this.win,
baseEl: this.el,
animationBuilder: this.animation || opts.animationBuilder || this.config.get('navAnimation'),
progressCallback,
animated: this.animated,
animated: this.animated && this.config.getBoolean('animated', true),
enteringEl,
leavingEl,