mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(core): nativescript.config and webpack updates (#8801)
This commit is contained in:
11
apps/ui/src/text-field/secured-text-field-4135-page.ts
Normal file
11
apps/ui/src/text-field/secured-text-field-4135-page.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import * as observable from '@nativescript/core/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