The UIEvent interface represents simple user interface events.
UIEvent
MDN Reference
The UIEvent.detail read-only property, when non-zero, provides the current (or next, depending on the event) click count.
UIEvent.detail
The UIEvent.view read-only property returns the is the Window object the event happened in.
UIEvent.view