250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- vue2
- slidePerGroup
- watchOverflow
- jquery
- eslint
- vscode
- slideChange
- swiperOption
- slidePerView
- realIndex
- archiver
- 인덱스
- loop:true
- Vue
- activeIndex
- error
- swiper
- v-bind
- JavaScript
- classlist
- centerSlides
- display
- querySelector
- js
- eslint prettier
- index
- javascirpt
- CORS
- css
- prettier
Archives
- Today
- Total
목록javascirpt (1)
코딩하는 둥둥
location.href와 location.replace의 차이점
location.href 전체 URL을 포함하는 문자열을 반환하고 href를 업데이트할 수 있도록 한다. 새로운 페이지로 이동한다. 속성의 형태 location history가 기록되어 사용자가 뒤로가기 버튼으로 이전 페이지로 돌아갈 수 있다. location.replace location의 현재 리소스를 제공된 URL의 리소스로 바꾼다. 기존 페이지를 새로운 페이지로 변경시킨다. 메서드의 형태 현재 페이지를 사용한 후에는 location history(session)에 저장되지 않아 사용자는 뒤로가기 버튼을 사용해 이전 페이지로 돌아갈 수 없다. References. https://developer.mozilla.org/en-US/docs/Web/API/Location/href location.href..
Frontend/JavaScript
2023. 1. 15. 16:55