Initial prototype of Frame + Page + Navigation.

This commit is contained in:
atanasovg
2014-06-12 17:37:55 +03:00
parent ef7c3ce677
commit 2c4781db01
26 changed files with 520 additions and 80 deletions

25
ui/pages/page.d.ts vendored Normal file
View File

@@ -0,0 +1,25 @@
declare module "ui/pages" {
import view = require("ui/core/view");
import frame = require("ui/frame");
export class Page extends view.View {
contentView: view.View;
android: AndroidPage;
/**
* Gets the Frame object controlling this instance.
*/
frame: frame.Frame;
onNavigatedTo(context: any): void;
onNavigatedFrom(): void;
onLoaded: () => void;
}
export interface AndroidPage {
activity: android.app.Activity;
activityBody: any;
getActivityExtends(): any;
}
}