---
title: "didDeselectTabs(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/wkwebextensioncontext/diddeselecttabs(_:)"
---

# didDeselectTabs(_:)

Called by the app when tabs are deselected to fire appropriate events with only this extension.

## Declaration

```swift
func didDeselectTabs(_ deselectedTabs: [any WKWebExtensionTab])
```

## Parameters

- `deselectedTabs`: The set of tabs that were deselected.

## Discussion

Discussion This method informs only the specific extension that tabs have been deselected. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead.
