Closed bartbutenaers closed 10 months ago
Hi @bartbutenaers , Let me review this PR. Will let you know.
Thanks, NSwamy
Done. Thanks for the PR.
@bartbutenaers If interested, do check out my new framework - "PDF-Frame" for PDF/Canvas graphics. It provides component support for Vue and Nuxt frameworks.
Github link: PDF-Frame npm: pdf-frame-vue npm: pdf-frame-nuxt
@nswamy14, Thanks a lot for the fast response!!!
BTW Your pdf-frame looks also very nice. But first I am going to focus on your heatmap library ;-)
@bartbutenaers, I've merged the pull request, but I still need to build and release the new npm patch. I'll update you about it today.
@nswamy14, It might be that in the next week I will do a couple of other (small) pull requests, or feature requests. If you want you can publish it afterwards to npm, all at once. That would save you some time...
@bartbutenaers Sure.
@nswamy14,
Thanks for sharing this nice library!!
I would appreciate if you could review this pull request. The first input parameter can still be a string (i.e. a CSS selector):
But from now it can also be a html element:
Background for my request
I would like to integrate your library into a VueJs application, but the problem is that I need to input a container id. As a result, when I have multiple heatmaps, they need unique container id's (to avoid conflicts):
However VueJs can work with scoped html, by using their
ref
attribute instead of the standardid
attribute:So no need to have unique id's this way, i.e. all heatmap container divs can have the same
ref
value "heatmap_container, which simplifies the code. Next I need to find the div element in the VueJs way, and pass it to your library:Hopefully this is ok for you.
Thanks! Bart