인터랙션 & 컴포넌트/JS
[JS] <a> 요소의 # 앵커 막는 방법
millfeel1298
2020. 12. 30. 01:27
window.addEventListener('click', function(e){
e.preventDefault('막을 대상');
});