Tuesday 26 February 2019

angular application build in electron print a div shows blank window

I have developed an angular application then I build that application in an electron. The application works fine but when I click the button to print specific div it opens a blank window of the electron. I use ngx-print library. it works great with angular serve but got a problem with electron build.

<button class="btn btn-raised mr-1 shadow-z-2 btn-success"  
printSectionId="print-section" ngxPrint>
   print
</button>

<div id="print-section"> Print This</div>



from angular application build in electron print a div shows blank window

No comments:

Post a Comment