English
closeWebView
About 89 wordsLess than 1 minute
2025-12-16
Adapter for closing a WebView
Parameters
No parameters
Return Value
No return value. It directly calls the native interface of the third-party app to close the WebView.
Usage Example
closeWebView() {
// The window will be closed after returning from the last page
window.xx.closeWebView();
}The third-party app provides a native interface for closing the WebView. Calling it closes the current WebView window.
Attention
After calling this interface, the current WebView will be closed. Make sure user data has been saved.
