onCloseWindow property
void Function(T controller)?
onCloseWindow
final
Event fired when the host application should close the given WebView and remove it from the view system if necessary. At this point, WebCore has stopped any loading in this window and has removed any cross-scripting ability in javascript.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebChromeClient.onCloseWindow)
- iOS (Official API - WKUIDelegate.webViewDidClose)
- MacOS (Official API - WKUIDelegate.webViewDidClose)
Implementation
final void Function(T controller)? onCloseWindow;