javascript - Generate HTML Canvas from AngularJS Template -


i trying render html element on canvas using html2canvas js. using angularjs data binding on html page , dynamic data not rendered on generated canvas these html elements. example, have html element this:

<table class="table table-striped table-bordered table-hover">     <tr>         <th>name</th>         <th>uri</th>         <th>is default</th>         <th>action</th>     </tr>     <tr ng-repeat="printer in printers">         <td>{{printer.name}}</td>         <td>{{printer.url}}</td>         <td>{{printer.default}}</td>         <td><button ng-click="printtestpage(printer.url)">print test page</button></td>     </tr> </table> 

but can see dynamic data not rendered on canvas:

enter image description here suggestions regarding how properly, or without using html2canvas js???

when call html2canvas? should call function after dom renderd


Comments

Popular posts from this blog

What Are The Best Universities In The World?

Hard vs. Soft Water: What's The Difference?

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -