UIEvent: view property

The UIEvent.view read-only property returns the WindowProxy object from which the event was generated. In browsers, this is the Window object the event happened in.

Value

A reference to an AbstractView object.

Specifications

Specification
UI Events
# dom-uievent-view

Browser compatibility

BCD tables only load in the browser