public HybridWebViewPageCS() { var hybridWebView = new HybridWebView { Uri = "index.html" }; hybridWebView.RegisterAction(data => DisplayAlert("Alert", "Hello " + data, "OK")); Padding = new Thickness(0, 40, 0, 0); Content = hybridWebView; }
public HybridWebViewPageCS () { var hybridWebView = new HybridWebView { Uri = "index.html", HorizontalOptions = LayoutOptions.FillAndExpand, VerticalOptions = LayoutOptions.FillAndExpand }; hybridWebView.RegisterAction (data => DisplayAlert ("Alert", "Hello " + data, "OK")); Padding = new Thickness (0, 20, 0, 0); Content = hybridWebView; }
public HybridWebViewPageCS() { var hybridWebView = new HybridWebView { Uri = "index.html", HorizontalOptions = LayoutOptions.FillAndExpand, VerticalOptions = LayoutOptions.FillAndExpand }; hybridWebView.RegisterAction(data => DisplayAlert("Alert", "Hello " + data, "OK")); Padding = new Thickness(0, 20, 0, 0); Content = hybridWebView; }
public HybridWebViewPageCS() { hybridWebView = new HybridWebView { Uri = "http://10.0.0.83:8080/#/loginX", // Uri = "https://www.numberhelper.com:8080/#/loginX", HorizontalOptions = LayoutOptions.FillAndExpand, VerticalOptions = LayoutOptions.FillAndExpand }; // hybridWebView.RegisterAction (data => DisplayAlert ("Alert", "Hello " + data, "OK")); hybridWebView.RegisterAction(data => showData(data)); Padding = new Thickness(0, 20, 0, 0); Content = hybridWebView; }
public HybridWebViewPageCS(string theUri) { var hybridWebView = new HybridWebView { //Uri = "https://fixity.io/?hybrid=1", Uri = theUri, //Uri = "https://mobilehtml5.org/ts/?id=23", //Uri = "https://freshsoftware.com/camera.html", HorizontalOptions = LayoutOptions.FillAndExpand, VerticalOptions = LayoutOptions.FillAndExpand }; hybridWebView.RegisterAction(data => DisplayAlert("Alert", "Hello " + data, "OK")); Padding = new Thickness(0, 2, 0, 0); Content = hybridWebView; }