hyTags
HomeHome DocumentationDocumentation

window-set-scroll-x

Sets the horizontal scroll position of the window.
Parameter
Type
Description
value
Number
The horizontal scroll position in pixels
return
void
None
Test Case:Set scroll X does not throw
    <div></div>
    
    <window-set-scroll-x value="0">
    <bool-true>
    <assert-true>
    
    👆 Try to change something!
  • Test succeeded Test failed