๐ย Reference
๐ย Chapter
addEventListener
๋ DOM ์์์์ ํน์ ์ด๋ฒคํธ๋ฅผ ๊ฐ์งํ๊ณ , ๊ทธ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ์ ๋ ์คํํ ํจ์๋ฅผ ๋ฑ๋กํ๋ ๋ฉ์๋์ด๋ค.์์ 1
addEventListener(type, listener)
addEventListener(type, listener, options)
addEventListener(type, listener, useCapture)