Files
Hristo Deshev 141668bb05 Fix applying app CSS to template children when using custom pages.
No longer using getAncestor(view, "Page") to look for a pagey parent.
Replaced that with a View.page property. Removed getAncestor as its type
name-based implementation seems unreliable.
2015-08-07 18:26:21 +03:00

8 lines
183 B
TypeScript

import {Page} from "ui/page";
import {Label} from "ui/label";
export function pageLoaded(args) {
var page = <Page>args.object;
(<Label>page.content).text += " and loaded";
}