mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-21 14:34:06 +01:00
This commit is contained in:
parent
0d4b60bf32
commit
c017aa0c5c
5 changed files with 25 additions and 81 deletions
8
app/src/types/index.d.ts
vendored
8
app/src/types/index.d.ts
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue