# onDocumentEnd(\_:)

Runs `handler` at each end of the Document (see [`DocumentEnd`](<https://rasmuskard.github.io/react-native-minimal-webview/swift/documentation/minimalwebview/documentend/index.md>)), after the core’s own resets: per-page state belongs here.

```
func onDocumentEnd(_ handler: @escaping (DocumentEnd) -> Void)
```
