From af40a2da06f6c969c006636a399c59dd699f084d Mon Sep 17 00:00:00 2001 From: Vasil Chimev Date: Tue, 14 Jul 2015 11:04:07 +0300 Subject: [PATCH] Add web-view test page. --- CrossPlatformModules.csproj | 4 ++++ apps/ui-tests-app/bindings/xmlbasics.ts | 4 ++-- apps/ui-tests-app/dialogs/dialogs.xml | 2 +- apps/ui-tests-app/mainPage.ts | 2 +- apps/ui-tests-app/web-view/webview.ts | 19 +++++++++++++++++++ apps/ui-tests-app/web-view/webview.xml | 8 ++++++++ 6 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 apps/ui-tests-app/web-view/webview.ts create mode 100644 apps/ui-tests-app/web-view/webview.xml diff --git a/CrossPlatformModules.csproj b/CrossPlatformModules.csproj index aa645455e..0b2f72531 100644 --- a/CrossPlatformModules.csproj +++ b/CrossPlatformModules.csproj @@ -241,6 +241,9 @@ + + webview.xml + @@ -736,6 +739,7 @@ + PreserveNewest diff --git a/apps/ui-tests-app/bindings/xmlbasics.ts b/apps/ui-tests-app/bindings/xmlbasics.ts index 40a5fa4bb..018aa5d24 100644 --- a/apps/ui-tests-app/bindings/xmlbasics.ts +++ b/apps/ui-tests-app/bindings/xmlbasics.ts @@ -10,8 +10,8 @@ export function stack0Loaded(args: observable.EventData) { var button = stack0.getViewById("btn"); var bindingOptions = { sourceProperty: "textSource", - targetProperty: "text", - twoWay: true + targetProperty: "text"// , + // twoWay: true }; target.bind(bindingOptions, source); source.set("textSource", "Text"); diff --git a/apps/ui-tests-app/dialogs/dialogs.xml b/apps/ui-tests-app/dialogs/dialogs.xml index 730fbd8bb..061a412c0 100644 --- a/apps/ui-tests-app/dialogs/dialogs.xml +++ b/apps/ui-tests-app/dialogs/dialogs.xml @@ -1,6 +1,6 @@  -