hyTags
HomeHome DocumentationDocumentation

window-get-scroll-y

Gets the vertical scroll position of the window.
Parameter
Type
Description
return
number
The vertical scroll position in pixels
Test Case:Get scroll Y initially zero
    <div></div>
    
    <window-get-scroll-y>
    <assert-equal value="0" type="number">
    
    👆 Try to change something!
  • Test succeeded Test failed