mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
feat(popover): change template in popover to a page similar to modal
add ability to pass event in the transition, so on present of the popover, clean up the positioning references #5420
This commit is contained in:
@ -1157,7 +1157,8 @@ export class NavController extends Ion {
|
||||
duration: opts.duration,
|
||||
easing: opts.easing,
|
||||
renderDelay: opts.transitionDelay || this._trnsDelay,
|
||||
isRTL: this.config.platform.isRTL()
|
||||
isRTL: this.config.platform.isRTL(),
|
||||
ev: opts.ev,
|
||||
};
|
||||
|
||||
let transAnimation = Transition.createTransition(enteringView,
|
||||
@ -1779,6 +1780,7 @@ export interface NavOptions {
|
||||
postLoad?: Function;
|
||||
progressAnimation?: boolean;
|
||||
climbNav?: boolean;
|
||||
ev?: any;
|
||||
}
|
||||
|
||||
const STATE_ACTIVE = 'active';
|
||||
|
Reference in New Issue
Block a user