HTML DOM 이벤트 객체
이벤트 개체
HTML에서 이벤트가 발생하면 마우스 클릭 이벤트가 MouseEvent 객체에 속하는 것처럼 이벤트는 특정 이벤트 객체에 속합니다.
이벤트에 대한 튜토리얼은 JavaScript 이벤트 튜토리얼 을 읽어보세요 .
이벤트 개체
모든 이벤트 개체는 이벤트 개체를 기반으로 하며 모든 속성과 메서드를 상속합니다.
Event Object | Description |
---|---|
Event | The parent of all event objects |
기타 이벤트 개체
다음은 가장 일반적인 이벤트 개체입니다.
Event Object | Description |
---|---|
AnimationEvent | For CSS animations |
ClipboardEvent | For modification of the clipboard |
DragEvent | For drag and drop interaction |
FocusEvent | For focus-related events |
HashChangeEvent | For changes in the anchor part of the URL |
InputEvent | For user input |
KeyboardEvent | For keyboard interaction |
MouseEvent | For mouse interaction |
PageTransitionEvent | For navigating to, and away from, web pages |
PopStateEvent | For changes in the history entry |
ProgressEvent | For the progress of loading external resources |
StorageEvent | For changes in the window's storage area. |
TouchEvent | For touch interaction |
TransitionEvent | For CSS transitions |
UiEvent | For user interface interaction |
WheelEvent | For mousewheel interaction |