hyTags
HomeHome DocumentationDocumentation

rect-get-height

Gets the height of a rectangle.
Parameter
Type
Description
self
Rect
The rectangle to get the height from.
return
number
The height of the rectangle.
Test Case:Get height of rect
    <div style="position: absolute; top: 2px; left: 3px; width: 100px; height: 50px"></div>
    
    <selection-get-frame-rect>
    <rect-get-height>
    <assert-equal value="50" type="number">
    
    👆 Try to change something!
  • Test succeeded Test failed