---
title: "dispatchEvent(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domeventtarget/dispatchevent(_:)"
---

# dispatchEvent(_:)

## Declaration

```swift
func dispatchEvent(_ event: DOMEvent!) -> Bool
```
