Contents

didOpenTab(_:)

Should be called by the app when a new tab is opened to fire appropriate events with all loaded web extensions.

Declaration

func didOpenTab(_ newTab: any WKWebExtensionTab)

Parameters

  • newTab:

    The newly opened tab.

Discussion

This method informs all loaded extensions of the opening of a new tab, 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.

See Also

Related Documentation