Contents

didSelectTabs(_:)

Should be called by the app when tabs are selected to fire appropriate events with all loaded web extensions.

Declaration

func didSelectTabs(_ selectedTabs: [any WKWebExtensionTab])

Parameters

  • selectedTabs:

    The set of tabs that were selected.

Discussion

This method informs all loaded extensions that tabs have been selected, ensuring consistent understanding across extensions.

If the intention is to inform only a specific extension, you should use the respective method on that extension’s context instead.