mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
@ -1,5 +1,5 @@
|
||||
<Page xmlns="http://schemas.nativescript.org/tns.xsd" shownModally="onShownModally" loaded="onLoaded" unloaded="onUnloaded" backgroundColor="Red">
|
||||
<StackLayout backgroundColor="PaleGreen">
|
||||
<StackLayout backgroundColor="PaleGreen" margin="10">
|
||||
<TextField hint="username" id="username" text="username"/>
|
||||
<TextField hint="password" id="password" text="password" secure="true"/>
|
||||
<Button text="Login" tap="onLoginButtonTap"/>
|
||||
|
@ -161,6 +161,7 @@ export class Page extends pageCommon.Page {
|
||||
|
||||
this._onAttached(parent._context);
|
||||
this._isAddedToNativeVisualTree = true;
|
||||
this._syncNativeProperties();
|
||||
|
||||
ensureDialogFragmentClass();
|
||||
|
||||
|
Reference in New Issue
Block a user