Example #1
0
 private async void TopicWebViewOnNavigationCompleted(WebView sender, WebViewNavigationCompletedEventArgs args)
 {
     TopicWebView.NavigationCompleted -= TopicWebViewOnNavigationCompleted;
     if (!string.IsNullOrEmpty(Loc.Topic.CurrentTopic.TopicReponseId))
     {
         await TopicWebView.InvokeScriptAsync("scrollTo", new string[1]
         {
             Loc.Topic.CurrentTopic.TopicReponseId
         });
     }
 }
Example #2
0
 async Task ScrollTo(string anchor)
 {
     await TopicWebView.InvokeScriptAsync("scrollTo", new string[1] {
         anchor
     });
 }