Contents

tabs(for:)

Called when the tabs are needed for the window.

Declaration

optional func tabs(for context: WKWebExtensionContext) -> [any WKWebExtensionTab]

Parameters

  • context:

    The context in which the web extension is running.

Discussion

Defaults to an empty array if not implemented.