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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -