How to upload a screenshot using html2canvas?

后端 未结 3 1099
遇见更好的自我
遇见更好的自我 2020-12-01 08:29

Using html2canvas how can I save a screen shot to an object? I\'ve been exploring the demos, and see that the function to generate the screenshot is generated as follows:

3条回答
  •  时光说笑
    2020-12-01 09:28

    This code works for me. It will generate screenshot by html2canvas, upload the screenshot to imgur api, and return the imgur url.

     
    
    

提交回复
热议问题