void GoForward(object sender, EventArgs e) => XamWebview.GoForward();
void StartLongJS(object sender, EventArgs e) { ViewModel.JSLabel = "Executing Javascript..."; XamWebview.InjectJavascript("setTimeout(function(){ xamJSCallback('Testing'); }, 5000);"); }
void GoBack(object sender, EventArgs e) => XamWebview.GoBack();
public SimulateLongJavascriptError() { InitializeComponent(); BindingContext = ViewModel; XamWebview.RegisterGlobalCallback("xamJSCallback", HandleJSCallback); }