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

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
view

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support