mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Update web-view test page.
This commit is contained in:
@@ -447,8 +447,8 @@
|
||||
<TypeScriptCompile Include="apps\ui-tests-app\pages\text\button.ts">
|
||||
<DependentUpon>button.xml</DependentUpon>
|
||||
</TypeScriptCompile>
|
||||
<TypeScriptCompile Include="apps\ui-tests-app\web-view\webview.ts">
|
||||
<DependentUpon>webview.xml</DependentUpon>
|
||||
<TypeScriptCompile Include="apps\ui-tests-app\web-view\web-view.ts">
|
||||
<DependentUpon>web-view.xml</DependentUpon>
|
||||
</TypeScriptCompile>
|
||||
<TypeScriptCompile Include="connectivity\connectivity-common.ts">
|
||||
<DependentUpon>connectivity.d.ts</DependentUpon>
|
||||
@@ -1050,12 +1050,10 @@
|
||||
<Content Include="apps\ui-tests-app\pages\text\button.xml" />
|
||||
<Content Include="apps\ui-tests-app\web-view\test.css" />
|
||||
<Content Include="apps\ui-tests-app\web-view\test.html" />
|
||||
<Content Include="apps\ui-tests-app\web-view\webview.xml" />
|
||||
<Content Include="apps\ui-tests-app\web-view\webviewhtmlwithimages.xml" />
|
||||
<Content Include="apps\ui-tests-app\web-view\wvlocal.xml">
|
||||
<Content Include="apps\ui-tests-app\web-view\web-view-test.xml" />
|
||||
<Content Include="apps\ui-tests-app\web-view\web-view.xml">
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
<Content Include="apps\ui-tests-app\web-view\webviewlocalfile.xml" />
|
||||
<Content Include="fetch\fetch.js" />
|
||||
<Content Include="css-value\reworkcss-value.js" />
|
||||
<Content Include="ui\layouts\stack-layout\package.json">
|
||||
|
||||
@@ -71,7 +71,11 @@ examples.set("modalview", "modal-view/modalview");
|
||||
|
||||
examples.set("nordic", "nordic/nordic");
|
||||
|
||||
examples.set("text", "pages/text");
|
||||
examples.set("text/button", "pages/text/button");
|
||||
examples.set("text/label", "pages/text/label");
|
||||
examples.set("text/text-field", "pages/text/text-field");
|
||||
examples.set("text/text-view", "pages/text/text-view");
|
||||
|
||||
examples.set("background", "pages/background");
|
||||
examples.set("console", "pages/console");
|
||||
examples.set("gestures", "pages/gestures");
|
||||
@@ -85,9 +89,7 @@ examples.set("listview_binding", "pages/listview_binding");
|
||||
examples.set("switch", "pages/switchandprogress");
|
||||
examples.set("textfield", "pages/textfield");
|
||||
|
||||
examples.set("webview", "web-view/webview");
|
||||
examples.set("webviewhtmlwithimages", "web-view/webviewhtmlwithimages");
|
||||
examples.set("webviewlocalfile", "web-view/webviewlocalfile");
|
||||
examples.set("wvlocal", "web-view/wvlocal");
|
||||
examples.set("webview", "web-view/web-view");
|
||||
examples.set("webtest", "web-view/web-vew-test");
|
||||
|
||||
//VM.set("selected", "tabAll");
|
||||
6
apps/ui-tests-app/web-view/web-view-test.xml
Normal file
6
apps/ui-tests-app/web-view/web-view-test.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<Page>
|
||||
<StackLayout orientation="vertical">
|
||||
<WebView src="~/web-view/test.html" height="50" />
|
||||
<WebView src="<html><body><img src='./pages/test2.png'></img></body></html>" height="75" />
|
||||
</StackLayout>
|
||||
</Page>
|
||||
@@ -1,6 +0,0 @@
|
||||
<Page>
|
||||
<GridLayout>
|
||||
<WebView src="<html><body><img src='./tests/logo.png'></img></body></html>" />
|
||||
</GridLayout>
|
||||
</Page>
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
<Page>
|
||||
<GridLayout>
|
||||
<WebView src="~/web-view/test.html" />
|
||||
</GridLayout>
|
||||
</Page>
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
<Page>
|
||||
<StackLayout orientation="vertical">
|
||||
<WebView src="~/web-view/test.html" height="50" />
|
||||
<WebView src="<html><body><img src='./ui-tests-app/pages/test2.png'></img></body></html>" height="75" />
|
||||
</StackLayout>
|
||||
</Page>
|
||||
Reference in New Issue
Block a user