File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
2-ui/1-document/09-size-and-scroll/1-get-scroll-height-bottom Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ importance: 5
22
33---
44
5- # What's the scroll from the bottom ?
5+ # Що прокрутиться від низу ?
66
7- The ` elem.scrollTop ` property is the size of the scrolled out part from the top. How to get the size of the bottom scroll (let's call it ` scrollBottom ` )?
7+ Властивість ` elem.scrollTop ` -- це розмір прокрученої частини зверху. Як отримати розмір прокрутки знизу (назвемо його ` scrollBottom ` )?
88
9- Write the code that works for an arbitrary ` elem ` .
9+ Напишіть код, який працює для довільного ` elem ` .
1010
11- P.S. Please check your code: if there's no scroll or the element is fully scrolled down, then it should return ` 0 ` .
11+ P.S. Будь ласка, перевірте свій код: якщо прокручування немає або елемент повністю прокручено вниз, він має повернути ` 0 ` .
You can’t perform that action at this time.
0 commit comments