title: How do I convert with Angular: HTML into PDF
body: <p>I'm using Angular and I wanna convert a table from html into pdf, this is my code in component.ts: </p>
  
  <pre><code>downloadPDF() {
      const doc = new jsPDF();
      const specialElememtHandlers = {
          '#editor'(element, renderer) {
              return true;
          }
      };
  
      doc.fromHTML(this.content.nativeElement.innerHTML, 15, 15, {
          width: 190,
          elementHandlers: specialElememtHandlers
      });
      doc.save('test.pdf');
  }
  </code></pre>
  
  <p>and my html code is:</p>
  
  <pre><code>&lt;button (click)="downloadPDF()"&gt;Save as PDF&lt;/button&gt;
  </code></pre>
  
  <p>I actually can download a pdf, but it is completely white.</p>