WeChat Mini Program API Drawing·Export Picture canvasToTempFilePath(OBJECT)


canvasToTempFilePath(OBJECT)


Definition

Export the content of the current canvas to generate a picture and return the file path

OBJECT parameter description


## defined in <canvas/>
ParametersTypeDescription
canvasIdStringCanvas ID, pass in the canvas-id


#