# wx.showShareMenu(Object object)
Start from base library version 1.1.0. Please remaining backward compatible.
Displays the Forward button on the current page.
# Parameters
# Object object
Attribute | Type | Default | Required | Description |
---|---|---|---|---|
withShareTicket | boolean | false | No | Indicates whether to forward with shareTicket. Details |
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) |
# Sample Code
wx.showShareMenu({
withShareTicket: true
})