WeChat applet API wx.createCanvasContext(canvasId) (drawing context)
wx.createCanvasContext(canvasId)
Definition
Create canvas drawing context (specify canvasId)
Tip: Need to specify canvasId , the drawing context only acts on the corresponding <canvas/>
parameter
Type | Description | |
---|---|---|
String | Canvas representation, the incoming definition is in | <canvas/>’s canvas-id |