Descriptions fixed and navigation methods mad private

This commit is contained in:
vakrilov
2015-05-18 18:09:59 +03:00
parent fe66104595
commit 1ef880bc55

48
ui/page/page.d.ts vendored
View File

@ -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<any>): 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