Window.scroll() - Web APIs | MDN
The Window.scroll() method scrolls the window to a particular place in the document.
developer.mozilla.org
GlobalEventHandlers.onscroll - Web API | MDN
functionRef 은(는) 함수 표현식 또는 함수 이름 이며, 이 객체는 오직 UIEvent (en-US) 객체만 인수로 받습니다.
developer.mozilla.org
Window.scrollY - Web API | MDN
Window 인터페이스의 scrollY 읽기 전용 속성은 문서가 수직으로 얼마나 스크롤됐는지 픽셀 단위로 반환합니다. 최신 브라우저에서는 값의 정밀도가 픽셀보다 작으므로 반드시 정숫값을 반환하는
developer.mozilla.org
HTMLElement.offsetTop - Web APIs | MDN
The HTMLElement.offsetTop read-only property returns the distance of the outer border of the current element relative to the inner border of the top of the offsetParent, the closest positioned ancestor element.
developer.mozilla.org
HTMLElement.offsetHeight - Web APIs | MDN
The HTMLElement.offsetHeight read-only property returns the height of an element, including vertical padding and borders, as an integer.
developer.mozilla.org
Element.getBoundingClientRect() - Web API | MDN
Element.getBoundingClientRect() 메서드는 엘리먼트의 크기와 뷰포트에 상대적인 위치 정보를 제공하는 DOMRect 객체를 반환합니다.
developer.mozilla.org
'JAVASCRIPT' 카테고리의 다른 글
Error: [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null. 해결법 (0) | 2022.12.24 |
---|---|
styled-components 설치 시 unable to resolve dependency tree 오류 해결 (0) | 2022.12.23 |
javascript) Canvas에 애니메이션을 위한 requestAnimationFrame (0) | 2022.09.07 |
javascript) 룰렛 만들기 (0) | 2022.08.20 |
jfif와 jpeg(jpg)의 차이 (0) | 2022.08.17 |