windowState(for:)
Called when the state of the window is needed.
Declaration
optional func windowState(for context: WKWebExtensionContext) -> WKWebExtension.WindowStateParameters
- context:
The context in which the web extension is running.
Discussion
Defaults toWKWebExtension.WindowState.normal if not implemented.