Files
NativeScript/apps/template-master-detail/details-page.ts
2015-03-03 10:34:40 +02:00

9 lines
316 B
TypeScript

import pages = require("ui/page");
import observable = require("data/observable");
// Event handler for Page "navigatedTo" event attached in details-page.xml
export function pageNavigatedTo(args: observable.EventData) {
var page = <pages.Page>args.object;
page.bindingContext = page.navigationContext;
}