mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
Create a single NS app for cuteness.io, gallery-app and ui-tests-app in apps/
Move all other apps to https://github.com/NativeScript/tns-apps-graveyard
This commit is contained in:
11
apps/app/ui-tests-app/text-field/text-field.ts
Normal file
11
apps/app/ui-tests-app/text-field/text-field.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import observable = require("data/observable");
|
||||
|
||||
export function pageLoaded(args) {
|
||||
var page = args.object;
|
||||
var textFieldSecured = page.getViewById("textFieldSecured");
|
||||
textFieldSecured.secure = true;
|
||||
|
||||
var obj = new observable.Observable();
|
||||
obj.set("textProperty", "text");
|
||||
page.bindingContext = obj;
|
||||
}
|
Reference in New Issue
Block a user