From 1ef880bc55a34c4679037a1bfd0739b35325007d Mon Sep 17 00:00:00 2001 From: vakrilov Date: Mon, 18 May 2015 18:09:59 +0300 Subject: [PATCH] Descriptions fixed and navigation methods mad private --- ui/page/page.d.ts | 48 +++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/ui/page/page.d.ts b/ui/page/page.d.ts index 19974c777..e00c5801e 100644 --- a/ui/page/page.d.ts +++ b/ui/page/page.d.ts @@ -14,7 +14,7 @@ declare module "ui/page" { //@endprivate /** - * Defines the data for the page navivation events. + * Defines the data for the page navigation events. */ export interface NavigatedData extends observable.EventData { /** @@ -105,29 +105,6 @@ declare module "ui/page" { */ optionsMenu: OptionsMenu; - /** - * A method called before navigating to the page. - * @param context - The data passed to the page through the NavigationEntry.context property. - */ - onNavigatingTo(context: any): void; - - /** - * A method called after navigated to the page. - * @param context - The data passed to the page through the NavigationEntry.context property. - */ - onNavigatedTo(): void; - - /** - * A method called before navigating from the page. - */ - onNavigatingFrom(): void; - - /** - * A method called after navigated from the page. - * @param isBackNavigation - True if the Page is being navigated from using the Frame.goBack() method, false otherwise. - */ - onNavigatedFrom(isBackNavigation: boolean): void; - /** * A basic method signature to hook an event listener (shortcut alias to the addEventListener method). * @param eventNames - String corresponding to events (e.g. "propertyChange"). Optionally could be used more events separated by `,` (e.g. "propertyChange", "change"). @@ -172,6 +149,29 @@ declare module "ui/page" { _addArrayFromBuilder(name: string, value: Array): void; //@private + + /** + * A method called before navigating to the page. + * @param context - The data passed to the page through the NavigationEntry.context property. + */ + onNavigatingTo(context: any): void; + + /** + * A method called after navigated to the page. + */ + onNavigatedTo(): void; + + /** + * A method called before navigating from the page. + */ + onNavigatingFrom(): void; + + /** + * A method called after navigated from the page. + * @param isBackNavigation - True if the Page is being navigated from using the Frame.goBack() method, false otherwise. + */ + onNavigatedFrom(isBackNavigation: boolean): void; + _getStyleScope(): styleScope.StyleScope; _invalidateOptionsMenu(); //@endprivate