UIEvent: detail 속성

UIEvent.detail 읽기 전용 속성은, 0이 아니라면, 현재 (또는 이벤트에 따라 다음) 클릭 수를 나타냅니다.

clickdblclick 이벤트에서의 UIEvent.detail은 현재 클릭 수입니다.

mousedown (en-US)mouseup (en-US) 이벤트에서의 UIEvent.detail은 현재 클릭 수에 1을 더한 값입니다.

다른 모든 UIEvent 객체의 UIEvent.detail은 항상 0입니다.

명세서

Specification
UI Events
# dom-uievent-detail

브라우저 호환성

BCD tables only load in the browser