Contents

activeTab(for:)

Called when the active tab is needed for the window.

Declaration

optional func activeTab(for context: WKWebExtensionContext) -> (any WKWebExtensionTab)?

Parameters

  • context:

    The context in which the web extension is running.

Discussion

Defaults to nil if not implemented.