Back to Content

UIEvent: view property

files/en-us/web/api/uievent/view/index.md

latest357 B
Original Source

{{APIRef("UI Events")}}

The UIEvent.view read-only property returns the {{glossary("WindowProxy")}} object from which the event was generated. In browsers, this is the {{ domxref("Window") }} object the event happened in.

Value

A reference to an AbstractView object.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}