Files
NativeScript/apps/automated/app/ui/page/test-page-module.ts
Nathan Walker 1e6fccf272 chore: cleanup
2020-07-23 14:03:37 -07:00

20 lines
435 B
TypeScript

import * as PageModule from '@nativescript/core/ui/page';
import * as LabelModule from '@nativescript/core/ui/label';
export class TestPageModule extends PageModule.Page {
constructor() {
super();
var label = new LabelModule.Label();
label.text = 'Label created within a page module.';
this.content = label;
}
}
export function createPage() {
return new TestPageModule();
}
//export var Page = new TestPageModule();