---
title: elementUserInfoEnabled
framework: WebKit
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+]
path: webkit/wkcontentworld/configuration/elementuserinfoenabled
---

# elementUserInfoEnabled

## Declaration

```swift
var elementUserInfoEnabled: Bool { get set }
```

## Discussion

Discussion A boolean value indicating whether the ability to attach user info on an element is exposed to scripts or not.
