This API is used via wx.getMenuButtonBoundingClientRect().
Attribute | Type | Description |
width | number | Width, measured in pixels (px) |
height | number | Height, measured in pixels (px) |
top | number | Upper Boundary Coordinate, Unit: px |
right | number | Right Boundary Coordinate, Unit: px |
bottom | number | Lower Boundary Coordinate, Unit: px |
left | number | Left Boundary Coordinate, Unit: px |
Was this page helpful?