---
title: shouldAddToSelection
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextension/tabconfiguration/shouldaddtoselection
---

# shouldAddToSelection

Indicates whether the tab should be added to the current tab selection.

## Declaration

```swift
var shouldAddToSelection: Bool { get }
```

## Discussion

Discussion If this property is YES, the tab should be part of the current selection, but not necessarily become the active tab unless shouldBeActive is also YES. If this property is NO, the tab shouldn’t be part of the current selection.
