{{tag>[JavaScript DOM Interface Event]}}
====== Event ======
''interface'' ''**Event**''
===== Constructors =====
* ''new'' ''**Event**()'' → ''Event''
===== Properties =====
* ''**Event**.**cancelBubble**'' ''boolean'': (deprecated) ''Event.stopPropagation()'' 대신 사용됨. 이벤트 전파 방지
* ''**Event**.**returnValue**'' ''boolean'': (deprecated) 호환을 위해 남겨둠. ''Event.preventDefault()'', ''Event.defaultPrevented''를 사용할 것
* ''readonly'' ''**Event**.**scoped**'' ''boolean'': (deprecated) 쉐도우 루트를 통하여 표준 DOM으로 버벌릉되는지 여부. cf. compose
* ''readonly'' __''**Event**.**explicitOriginalTarget**''__ ''EventTarget'': (Non-standard) 이벤트 원래 대상
* ''readonly'' __''**Event**.**originalTarget**''__ ''Event'': (Non-Standard) 대상 변경전 이벤트 원래 대상
* ''readonly'' ''**Event**.**bubbles**'' ''boolean'': 이벤트가 버블링 여부
* ''readonly'' ''**Event**.**cancelable**'' ''boolean'': 이벤트 취소 가능 여부
* ''readonly'' ''**Event**.**compsed**'' ''boolean''
* ''readonly'' ''**Event**.**isTrusted**'' ''boolean'': ''true''는 사용자 생성. ''false''는 ''EventTaret.dispatchEvent()''나 스크립트에서 생성/수정된 이벤트.
* ''readonly'' ''**Event**.**defaultPrevented**'' ''boolean'': ''Event.preventDefault()''의 호출로 이벤트 취소되었는지 여부.
* ''readonly'' ''**Event**.**eventPhase**'' ''integer'': 이벤트 흐름에서 현재 처리 중인 단계
* ''//NONE//'': (0)
* ''//CAPTURING_PHASE//'': (1)
* ''//AT_TARGET//'': (2)
* ''//BUBBLING_PHASE//'': (3)
* ''readonly'' ''**Event**.**type**'' ''String'': 이벤트의 이름
* ''readonly'' ''**Event**.**target**'' ''EventTarget'': 이벤트가 처음에 발생한 대상
* ''readonly'' ''**Event**.**currentTarget**'' ''EventTarget'': 이벤트의 현재 대상
* ''readonly'' ''**Event**.**timeStamp**'' ''DOMHighresTimeStamp'': 이벤트가 생성된 시간(ms)
===== Methods =====
* ''**Event**.**initEvent**(type, bubbles, cancelable)'' ''void'': (deprecated) ''Document.createEvent()''로 생성된.. 초기화에 사용됨.
* ''type'' ''String''
* ''bubbles'' ''boolean''
* ''cancleable'' ''boolean''
* ''**Event**.**composePath**()'' ''EventTarget[]'': 리스너가 있는 이벤트 경로 배열을 반환
* ''**Event**.**preventDefault**()'' ''void'': 이벤트를 명시적으로 처리하지 않은 경우, 사용자 에이전트의 기본동작을 실행하도지 않도록 차단.
* ''**Event**.**stopPropagation**()'' ''void'': 현재 이벤트가 캡처링/버블링 단계에서 더이상 전파하지 않도록 차단.
* ''**Event**.**stopImmediatePropagation**()'' ''void'': 같은 대상에 부착한 다른 수신기까지 캡처링/버블링 차단