File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ export class Page extends ContentView implements dts.Page {
200
200
} ;
201
201
}
202
202
203
- public onNavigatingTo ( context : any , isBackNavigation : boolean , bindingContext : any ) {
203
+ public onNavigatingTo ( context : any , isBackNavigation : boolean , bindingContext ? : any ) {
204
204
this . _navigationContext = context ;
205
205
206
206
//https://github.com/NativeScript/NativeScript/issues/731
Original file line number Diff line number Diff line change @@ -227,9 +227,9 @@ declare module "ui/page" {
227
227
* A method called before navigating to the page.
228
228
* @param context - The data passed to the page through the NavigationEntry.context property.
229
229
* @param isBackNavigation - True if the Page is being navigated from using the Frame.goBack() method, false otherwise.
230
- * @param bindingContext - An object to become the binding context of the page navigating to.
230
+ * @param bindingContext - An object to become the binding context of the page navigating to. Optional.
231
231
*/
232
- onNavigatingTo ( context : any , isBackNavigation : boolean , bindingContext : any ) : void ;
232
+ onNavigatingTo ( context : any , isBackNavigation : boolean , bindingContext ? : any ) : void ;
233
233
234
234
/**
235
235
* A method called after navigated to the page.
You can’t perform that action at this time.
0 commit comments