hyTags
HomeHome DocumentationDocumentation

selection-get-scroll-y

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