html2canvas code not working IE 11

后端 未结 2 687
后悔当初
后悔当初 2020-12-21 08:34

I am hoping to use the html2canvas library to make a image of one div and put it in another. So far I have it working wonderfully in Safari, Chrome, and Firefox but not IE (

2条回答
  •  一向
    一向 (楼主)
    2020-12-21 09:17

    Add this 2 JS - It will automatically provides/replaces Promise if missing or broken.

    
     
    

    Source: Comment by Arthez on Roman Canlas's post & https://github.com/stefanpenner/es6-promise

提交回复
热议问题