my.showSharePanel

Use this API to trigger the sharing.

Note:

When using this API to trigger the sharing, pass the value code to the request parameter from in page.onShareAppMessage.

Sample code

copy
// .js
my.showSharePanel();