hyTags
HomeHome DocumentationDocumentation

style-get-top

Gets the top style property value of an element
Parameter
Type
Description
return
number
The top value as a number
Test Case:Get top from inline style
    <div></div>
    
    <style-set name="top" value="20px">
    <style-get-top>
    <assert-equal value="20" type="number">
    
    👆 Try to change something!
  • Test succeeded Test failed