<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebView-swift.struct/ElementFullscreenBehavior",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WebKit",
      "SwiftUI",
      "_WebKit_SwiftUI"
    ],
    "preciseIdentifier" : "s:15_WebKit_SwiftUI0A4ViewV25ElementFullscreenBehaviorV"
  },
  "title" : "WebView.ElementFullscreenBehavior"
}
-->

# WebView.ElementFullscreenBehavior

The behavior that determines whether a web view can display content full screen.

```
struct ElementFullscreenBehavior
```

## Topics

### Type Properties

[`static let automatic: WebView.ElementFullscreenBehavior`](/documentation/WebKit/WebView-swift.struct/ElementFullscreenBehavior/automatic)

The automatic behavior.

[`static let disabled: WebView.ElementFullscreenBehavior`](/documentation/WebKit/WebView-swift.struct/ElementFullscreenBehavior/disabled)

Element full screen is disabled.

[`static let enabled: WebView.ElementFullscreenBehavior`](/documentation/WebKit/WebView-swift.struct/ElementFullscreenBehavior/enabled)

Element full screen is enabled.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)