CODE_PLAN

  • 분류 전체보기 (336)
    • Front-End (110)
      • JavaScript (26)
      • React (78)
      • TypeScript (6)
    • HTML, CSS (1)
    • 코딩테스트 (42)
      • JavaScript (41)
    • vscode (5)
    • 개발 지식 (11)
      • Github (3)
    • IT 서비스 기획, PM, PO (7)
    • Figma (5)
    • Office (1)
      • ppt (1)
  • 홈
  • 태그
  • 방명록
/ /

e.preventDefault() 와 stopPropagation() 의 차이

CODE_PLAN 2022. 11. 2. 21:08
2022. 11. 2. 21:08

https://pa-pico.tistory.com/20

 

[개념잡기] e.preventDefault() 와 stopPropagation() 의 차이

stopPropogation vs preventDefault e.preventDefault()와 e.stopPropagation()의 차이 두개의 코드 모두 이벤트 관련 동작에서 많이 사용되는 코드이다. 둘의 차이점은 무엇일까 알아보자. e.preventDefault() html 에서 a

pa-pico.tistory.com

 

+ Recent posts

Powered by Tistory, Designed by wallel
Rss Feed and Twitter, Facebook, Youtube, Google+

티스토리툴바