Event: 어떠한 동작의 발생을 전달하기 위해 객체가 메세지를 보낸다.
ex)
웹페이지의 로드
버튼의 클릭
브라우저 창의 Resize
Dom을 이용해 이벤트 핸들러를 추가할 수 있음.
onEventName (onClick)
'TIL > TIL' 카테고리의 다른 글
회원가입 DOM, form validation 설계 (0) | 2020.02.14 |
---|---|
Element 담긴 내용 불러오기 (0) | 2020.02.14 |
querySelecter VS querySelecterAll (0) | 2020.02.14 |
어떻게 HTMLElement를 JavaScript를 통해 가지고 올 수 있을까? (0) | 2020.02.14 |
Node vs Element (0) | 2020.02.13 |
comment