https://pa-pico.tistory.com/20
[개념잡기] e.preventDefault() 와 stopPropagation() 의 차이
stopPropogation vs preventDefault e.preventDefault()와 e.stopPropagation()의 차이 두개의 코드 모두 이벤트 관련 동작에서 많이 사용되는 코드이다. 둘의 차이점은 무엇일까 알아보자. e.preventDefault() html 에서 a
pa-pico.tistory.com