How to display the public account in the mini program
The mini program provides us with the public account follow component, you can Used to display public accounts.
When the user scans the mini program code to open the mini program, the developer can configure the public account following component in the mini program to facilitate users to quickly follow the public No., can be nested within native components.
Sample code:
<official-account></official-account>
The attributes that can be used by the component are as follows:
Attribute name | Type | Description |
---|---|---|
EventHandle | Triggered when the component is loaded successfully | |
EventHandle | Triggered when component loading fails |
Type | Description | |
---|---|---|
Number | Status code | ##errMsg |
Error message |
jquery video tutorials
, welcome to learn!The above is the detailed content of How to display public account in mini program. For more information, please follow other related articles on the PHP Chinese website!