UIEvent: detail property - Web APIs | MDN
The UIEvent.detail read-only property, when non-zero, provides the current (or next, depending on the event) click count.