Vanessa 2025-03-07 13:45:49 +08:00
parent 0d4b60bf32
commit c017aa0c5c
5 changed files with 25 additions and 81 deletions

View file

@ -188,10 +188,10 @@ interface Window {
setClipboard: { postMessage: (url: string) => void }
}
}
html2canvas: (element: Element, opitons: {
useCORS: boolean,
scale?: number
}) => Promise<any>;
htmlToImage: {
toCanvas:(element: Element) => Promise<HTMLCanvasElement>
toBlob:(element: Element) => Promise<Blob>
};
JSAndroid: {
returnDesktop(): void
openExternal(url: string): void