zoomFactor(for:)
Called when the zoom factor of the tab is needed.
Declaration
optional func zoomFactor(for context: WKWebExtensionContext) -> DoubleParameters
- context:
The context in which the web extension is running.
Discussion
Defaults to pageZoom of the tab’s web view if not implemented.