onWindowFocus method

  1. @override
void onWindowFocus()
inherited

Event fired when the JavaScript window object of the WebView has received focus. This is the result of the focus JavaScript event applied to the window object.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.

Implementation

@override
void onWindowFocus() {}