We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
it not have onError or onLoad method, How do I judge whether web pages have been loaded or failed?
The text was updated successfully, but these errors were encountered:
Hi @tmxiong
I think tath if you use the onNavigationStateChange event-method you could monitor de event argument and discover the 'loaded' moment of your URL.
onNavigationStateChange
event
Sorry, something went wrong.
Looking at the navState object that we get back from onNavigationStateChange, it looks like this:
{ canGoBack: false canGoForward: false loading: false title: "" url: "https://mywebsite.com/" }
So it works well for detecting the loading state, but it doesn't seem to show me when an error has occurred.
No branches or pull requests
it not have onError or onLoad method, How do I judge whether web pages have been loaded or failed?
The text was updated successfully, but these errors were encountered: