# wx.setMenuStyle(Object object)

Dynamically sets the style of the menu opened by tapping the upper-right button.

# Parameters

# Object object

Attribute Type Default Required Description
style string Yes Style
success function No The callback function for a successful API call
fail function No Callback function for failed API call
complete function No Callback function used when API call completed (always executed whether call succeeds or fails)

Valid values of object.style

Value Description Minimum Version
light Light color
dark Dark color