Contents

didCloseWindow(_:)

Called by the app when a window is closed to fire appropriate events with only this extension.

Declaration

func didCloseWindow(_ closedWindow: any WKWebExtensionWindow)

Parameters

  • closedWindow:

    The window that was closed.

Discussion

This method informs only the specific extension of the closure of a window. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead.

See Also

Related Documentation