在.ts文件代码中, import * as html2canvas from 'html2canvas'; html2canvas(document.getElementById('result-tableType 'typeof import("D:/Audition/sisi-arundathee/node_modules/html2canvas/dist/types/index")
我有一个屏幕截图或捕获div的问题。当我点击char.How can I take capture of div时,我想要为div截图,它的id是my-char。我需要采取的div没有父母的背景颜色屏幕截图。我将使用serverside上的截图。我试过一些小把戏,但没成功。 在代码和jsFiddle链接下面:https://jsfiddle.net/wyrustaaruz/umL3zdk2/12/ const HasanRiza = () => {
/* I want to take a screenshot