代码之家  ›  专栏  ›  技术社区  ›  Blues Clues

将html2canvas映像生成到引导模式

  •  0
  • Blues Clues  · 技术社区  · 7 年前

    $('#generateImageReport').on('click', function(){
       $('#generate').on('click', function(){
           html2canvas($("#capture")).then(canvas => {
             $('#imageReportModal .modal-body').html(canvas)
           });
       });
    });
    
    0 回复  |  直到 7 年前