---
title: delegate
framework: browserenginekit
role: symbol
role_heading: Instance Property
path: browserenginekit/betextinteraction/delegate
---

# delegate

A delegate object that the interaction notifies when the system changes the text selection.

## Declaration

```swift
weak var delegate: (any BETextInteractionDelegate)? { get set }
```

## See Also

### Text selection

- [BETextInteractionDelegate](browserenginekit/betextinteractiondelegate.md)
- [textSelectionDisplayInteraction](browserenginekit/betextinteraction/textselectiondisplayinteraction.md)
- [selectionBoundaryAdjusted(to:touchPhase:flags:)](browserenginekit/betextinteraction/selectionboundaryadjusted(to:touchphase:flags:).md)
- [selectionChangedWithGesture(at:gesture:state:flags:)](browserenginekit/betextinteraction/selectionchangedwithgesture(at:gesture:state:flags:).md)
