(context: any, isBackNavigation: boolean, bindingContext?: any)
| 110 | |
| 111 | @profile |
| 112 | public onNavigatingTo(context: any, isBackNavigation: boolean, bindingContext?: any) { |
| 113 | this._navigationContext = context; |
| 114 | |
| 115 | if (isBackNavigation && this._styleScope) { |
| 116 | this._styleScope.ensureSelectors(); |
| 117 | if (!this._cssState.isSelectorsLatestVersionApplied()) { |
| 118 | this._onCssStateChange(); |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | //https://github.com/NativeScript/NativeScript/issues/731 |
| 123 | if (!isBackNavigation && bindingContext !== undefined && bindingContext !== null) { |
| 124 | this.bindingContext = bindingContext; |
| 125 | } |
| 126 | this.notify(this.createNavigatedData(PageBase.navigatingToEvent, isBackNavigation)); |
| 127 | } |
| 128 | |
| 129 | @profile |
| 130 | public onNavigatedTo(isBackNavigation: boolean): void { |
no test coverage detected