- micro-channel user applet forwarding onShareAppMessage

You must define the event handler upper right corner of the menu will display the "Forward" button, the user clicks the button when forwarding calls, this event requires a return Object, title and path contains two fields for custom forwarding content

 

Custom code uses onShareAppMessage forward field

// page.js 
Page ({ 
onShareAppMessage: function () { 
 return { 
   title: ' Custom forwards header ' , 
   path: ' / Page / User ID 123 =? ' 
 } 
} 
})

 

 

 

 

 

 

.

Guess you like

Origin www.cnblogs.com/jianxian/p/11122939.html