Gets the window object that an event is generated from. [object window]
Property of dom/UIEventdom/UIEvent
Note: This property is read-only.
var eventWindow = event.view;
Returns an object of type DOM NodeDOM Node
The window object on which the event occurred.
Use this property to determine the window object on which the event has occurred.
Use initUIEvent to set the value of this property.
- DOM Level 3 Events
- Working Draft
Mozilla Developer Network : [event.view Article]
Microsoft Developer Network: [view Property Article]