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:
Brandy Carney
2016-05-23 14:15:17 -04:00
parent 53fd3c3973
commit a96e36aa0e
9 changed files with 133 additions and 114 deletions

View File

@ -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';