API


API

MINA provides rich WeChat native APIs, which can easily activate the capabilities provided by WeChat, such as obtaining user information, local storage, payment functions, etc.

Description: The API starting with

  • wx.on is an API interface that monitors the occurrence of a certain event and accepts a CALLBACK function as a parameter. When this event is triggered, the CALLBACK function is called.
  • Unless otherwise agreed, other API interfaces accept an OBJECT as a parameter.
  • You can specify success, fail, and complete in OBJECT to receive the interface call results.

QQ截图20170208100028.png

API list:

Network API list:

QQ截图20170208100036.png

Media API List:

QQ截图20170208100057.png

Data API list:

QQ截图20170208100109.png

##Location API list:

QQ截图20170208100120.png

API list:

QQ截图20170208100120.png

##Interface API list:

QQ截图20170208100130.png##Open interface: