-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reload inside the control #60
Comments
I asked 2 weeks ago and still waiting. #57 |
Hi, this is what I've done to implement refresh, note that the method is called In MyView.xaml: <hwv:HybridWebView x:Name="hybridWebView"
Grid.Row="1"
HybridAssetRoot="hybrid_root"
MainFile="index.html" />
<Button
Style="{StaticResource ButtonStyle}"
Text="Refresh"
Clicked="OnRefreshButtonClicked" />` In codebehind public void OnRefreshButtonClicked(object sender, EventArgs e)
{
hybridWebView.Reload();
} Hope that helps... |
Hi Eilon,
Thanks a lot for your response.
What i really want to do is a pull to refresh and if a put the control in a refreshview
Is very sensitive and in my website when i open a dropdown menu and i want to scroll down the menu my page does a refresh.
I believe if the pull to reload/refresh is inside the control i can control better this functionality.
Best Regards,
Efthymios Argyrou
I.T. Manager
Alt-àVie Ltd
Mob: +357 99694191
www.altavie.com.cy
altavie-logo
From: Synthaxe42 ***@***.***
Sent: 10 April 2024 09:49
To: Eilon/MauiHybridWebView
Cc: Efthymios; Author
Subject: Re: [Eilon/MauiHybridWebView] reload inside the control (Issue #60)
Hi, this is what I've done to implement refresh, note that the method is called hybridWebView.Reload not Refresh:
In MyView.xaml:
<hwv:HybridWebView x:Name="hybridWebView"
Grid.Row="1"
HybridAssetRoot="hybrid_root"
MainFile="index.html" />
<Button
Style="{StaticResource ButtonStyle}"
Text="Refresh"
Clicked="OnRefreshButtonClicked" />`
In codebehind MyView.xaml.cs:
public void OnRefreshButtonClicked(object sender, EventArgs e)
{
hybridWebView.Reload();
}
Hope that helps...
—
Reply to this email directly, view <#60 (comment)> it on GitHub, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAH5VF75NDP4GY2NJKEEPHDY4TOGXAVCNFSM6AAAAABF6A6JEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBWGY2DSNZXGA> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AAH5VFY6YPMMBG7WSQBLZ43Y4TOGXA5CNFSM6AAAAABF6A6JEGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTZ7VS2U.gif> Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
can anyone knows how to implement a refresh functionality inside the control?
thank you in advance.
The text was updated successfully, but these errors were encountered: