---
title: dataDetectorTypes
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webpage/configuration/datadetectortypes
---

# dataDetectorTypes

The types of data detectors to apply to the webpage’s content.

## Declaration

```swift
@MainActor var dataDetectorTypes: WKDataDetectorTypes
```

## Discussion

Discussion Data detectors add interactivity to web content by creating links for specially formatted text. For example, the .link type causes the apple.com portion of the text “Visit apple.com” to become a link to the Apple website. The default value of this property is an empty OptionSet.
