---
title: interactive
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/pageindexviewstyle/backgrounddisplaymode/interactive
---

# interactive

Background is only shown while the index view is interacted with.

## Declaration

```swift
static let interactive: PageIndexViewStyle.BackgroundDisplayMode
```

## See Also

### Getting the display modes

- [automatic](swiftui/pageindexviewstyle/backgrounddisplaymode/automatic.md)
- [always](swiftui/pageindexviewstyle/backgrounddisplaymode/always.md)
- [never](swiftui/pageindexviewstyle/backgrounddisplaymode/never.md)
