-
[16]합성 이벤트(synthetic events)란?dev/Web 2021. 4. 12. 19:07
이벤트 핸들러는 모든 브라우저에서 이벤트를 동일하게 처리하기 위한 이벤트 래퍼 SyntheticEvent객체를 전달 받는다. 결국 크로스 브라우징을 위한 것
including stopPropagation() and preventDefault(), except the events work identically across all browsers.
'dev > Web' 카테고리의 다른 글
[18]"key"는 무엇이며 사용할 때의 이점은 무엇인가? (0) 2021.04.12 [17]인라인 조건식이란? (0) 2021.04.12 [15]이벤트 핸들러 또는 콜백에 매개 변수를 전달하는 방법 (0) 2021.04.12 [14]JSX 콜백에서 메서드 또는 이벤트 핸들러를 바인딩하는 방법 (0) 2021.04.12 [13]HTML과 React 이벤트 처리의 차이점 (0) 2021.04.12