-
I have tried to use your lib inside a TypeScript project.
```
import * as htmlToImage from 'html-to-image';
htmlToImage
.toPng(node)
.then((dataUrl: string) => {
const img = …
-
When I try to set visibility by providing it in style with toCanvas method, it doesn't work
htmlToImage
.toCanvas(data, {
style: { visibility: 'visible'},
})
where my data has style …
-
I have a project with few charts, and I want to create a pdf (using react-pdf) with those charts as images.
I've set the id for one of the charts and tried the example code as shown in the usage sect…
-
I have code:
`htmlToImage.toPng(document.querySelector('.orgchart'))
.then((dataUrl) => {
download(dataUrl, `${fileNameExportHierarchy}.png`, 'image/png');
…
-
**Steps to Reproduce**:
1. Add the following to the source file being run:
```
var htmlToImage = require('html-to-image');
var svgNode = document.getElementById('someIdOfSvgElement');
htmlToIma…
jwir3 updated
2 years ago
-
Hello,
I've installed html-to-image in my project and it's work in development mode with this code :
```js
htmltoimage.toJpeg(node, exportOptions).then(function (dataUrl) {
const link = do…
-
Is there any workaround to make it work with child iframes?
I've been using this package for a few months and it was working like a charm. But now I had to insert iframe elements in my page and they …
-
Hi,
I am working on a React app with Apache Cordova. My objective is build the app on Windows (with Electron) and Android.
I applied this library on my React app and works well on Windows (only a…
-
import html2Image from 'html-to-image'
console.log(html2Image)
I got undefined.
I was trying to use it with Vuejs
Please help
-
Where is it? / How do I build the project to generate it?