question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

could made it print the dynamic html content?

See original GitHub issue

I’m using Vue.js:

<div id="print-area"> <img v-bind:src="currentInvoice.image"> </div> this above code will dynamically generate a img into #print-area. and i use the function printJS(‘print-area’,‘html’), it’s not working, just a blank page unless refresh the page. so, coulid it print the content dynamically like printJS($(‘#print-area’),‘html’).

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
crabblycommented, Apr 1, 2017

@melturphin Thank you for pointing this out. I’ll take a look at it as soon as I can.

0reactions
crabblycommented, Nov 4, 2017

I’ll close this issue since I don’t believe it is directly related to the library. As we can see in the fiddle posted above, it prints dynamic html content without issues. Please open it again if you have more information that we could work with. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

5 Ways To Display Dynamic HTML Content In Javascript
This tutorial will walk through how to load and display dynamic HTML content with Javascript, Free example code download included.
Read more >
CSS for printing is not applied to dynamically generated HTML
I am trying to print an HTML that comes from server-side. And the main issue that I face now is that css is...
Read more >
Problems with dynamic html, I can't show the structure of my ...
I am performing an implementation of a given report, and implemented the structure (html of the page) dynamically, however when I try to...
Read more >
Render dynamic content in Node.js using templates
In this article, we will see how we can render the front-end using Node.js which is very helpful to display static or dynamic...
Read more >
Handling dynamically created HTML in JavaScript - Medium
For example: Making HTML content interactive with JavaScript is a hugely ... Where you can, use events that bubble and attach elements to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found