hyTags
HomeHome DocumentationDocumentation

rect-get-left

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