Contents

didChangeTabProperties(_:for:)

Called by the app when the properties of a tab are changed to fire appropriate events with only this extension.

Declaration

func didChangeTabProperties(_ properties: WKWebExtension.TabChangedProperties, for changedTab: any WKWebExtensionTab)

Parameters

  • properties:

    The properties of the tab that were changed.

  • changedTab:

    The tab whose properties were changed.

Discussion

This method informs only the specific extension of the changes to a tab’s properties. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead.