tencent cloud

Tencent Cloud Super App as a Service

문서Tencent Cloud Super App as a Service

Menu

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-11-21 18:41:53

getMenuButtonBoundingClientRect

This API is used via wx.getMenuButtonBoundingClientRect().
Feature Description: Gets information about the layout position of the menu button (capsule button in the upper right corner). The coordinate information has the upper left corner of the screen as the origin .
Return Value: Object.
Layout Position Information of the Menu Buttons:
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


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백