webViewClose(_:)
Closes a web view in a window.
Declaration
optional func webViewClose(_ sender: WebView!)Parameters
- sender:
The web view that sent the message.
Discussion
If you display multiple web views in a window then you might want to close only sender in your implementation. By default, this method sends the close() method to the NSWindow object that contains sender.