frame(for:)
Called when the frame of the window is needed.
Declaration
optional func frame(for context: WKWebExtensionContext) -> CGRectParameters
- context:
The context in which the web extension is running.
Discussion
Defaults to CGRectNull if not implemented.