May 19, 2021 WeChat Mini Program Development Document
Base library 2.1.0 starts to support, and low versions need to be compatible.
Gets the layout location of the menu button (the capsule button in the upper right corner). The coordinate information is based on the upper left corner of the screen.
The layout location of the menu button
Property | Type | Description |
---|---|---|
width | number | Width, in px |
height | number | Height, in px |
top | number | Upper boundary coordinates, in px |
right | number | Right boundary coordinates, in px |
bottom | number | Lower boundary coordinates, in px |
left | number | Left boundary coordinates, in px |