eligrey / eligrey/FileSaver.js
download canvas file in client side not working
Open
- Dominant language
- JavaScript
- Stars
- 22k
- Forks
- 4.3k
- PR merge metrics
- No merged PRs in 30d
Description
nuxt + html2canvas + fileSaver
+ code
```js
html2canvas(this.$refs.content, {
useCORS: true
}).then(canvas => {
const fileName = `${this.detail.company_name}.jpg`;
canvas.toBlob(blob => {
saveAs(blob, fileName);
});
});
```
mobile browser
| browser | is working |
| --- | --- |
| chrome | ok |
| kuake | not |
| default | not |
| huawei | not |
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.