mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
refactor(animation): remove ion-animation-controller (#16842)
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user