hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

selection-get-frame-rect

Gets the bounding rectangle of the selected element.
Parameter
Type
Description
container
string
Container for coordinates: 'viewport' or nil for offset parent
return
rect
Rectangle with position and dimensions