tencent cloud

Feedback

Last updated: 2024-03-04 23:13:12

    getMenuButtonBoundingClientRect

    This API is used via wx.getMenuButtonBoundingClientRect().
    Feature Description: Gets the layout position information of the menu button (the capsule button in the top right corner). The coordinate information takes the top 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
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support