Generate pdf from HTML in div using Angular CLI 11 & jsPDF [2021] |

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

ความคิดเห็น • 25

  • @fitness-dose-xp
    @fitness-dose-xp 2 ปีที่แล้ว

    Thank you very much sir really usefull love from sri lanka

  • @angeldavid5767
    @angeldavid5767 2 ปีที่แล้ว

    Thanks, you got me out of trouble

  • @artpointofficial3888
    @artpointofficial3888 2 ปีที่แล้ว

    Very useful tutorial

  • @sangavit5208
    @sangavit5208 9 หลายเดือนก่อน

    Their is any option for convert pdf to excel format

  • @gggaabbi
    @gggaabbi ปีที่แล้ว +1

    Galera que está com problema de native vejam se vocês colocaram o id="content" e #content

  • @andiamocarservice6663
    @andiamocarservice6663 3 ปีที่แล้ว +2

    how do i add margin and page splitting ??

  • @shivanibarik6641
    @shivanibarik6641 2 ปีที่แล้ว

    Hi I don't want to display on the screen only want to print the pdf then what should I do

  • @ashwini6804
    @ashwini6804 7 หลายเดือนก่อน

    thank you so much

    • @OSTechHelp
      @OSTechHelp  6 หลายเดือนก่อน

      You're welcome!

  • @CharlesCuri
    @CharlesCuri 2 ปีที่แล้ว

    does it work if html has image?

  • @prathibhasathyanjalee5163
    @prathibhasathyanjalee5163 ปีที่แล้ว

    Cannot find name 'el' I'm getting an error like this

  • @vicentemartins1955
    @vicentemartins1955 2 ปีที่แล้ว

    Thanks!

  • @sameersameer5288
    @sameersameer5288 2 ปีที่แล้ว

    Hi sir, how to add page break in jspdf

  • @tamhoanguc6720
    @tamhoanguc6720 3 ปีที่แล้ว

    how to hide content on screen? only show button download.

  • @arslanghummann
    @arslanghummann 2 ปีที่แล้ว

    thankssssss

  • @nagamaninagamani8194
    @nagamaninagamani8194 3 ปีที่แล้ว

    Why are you using @ViewChild('content',{static: false}) el!: ElementRef; . Can you please explain this line.
    Thank you.

    • @OSTechHelp
      @OSTechHelp  3 ปีที่แล้ว +1

      To binding id="content"

    • @nagamaninagamani8194
      @nagamaninagamani8194 3 ปีที่แล้ว

      yeah, but I didn't understand how el!: ElementRef is working. can you please elaborate this syntax.

    • @OSTechHelp
      @OSTechHelp  3 ปีที่แล้ว +1

      @@nagamaninagamani8194 el is a reference variable of class "ElementRef" used to wrapp around a native element inside of a View.

    • @nagamaninagamani8194
      @nagamaninagamani8194 3 ปีที่แล้ว

      @@OSTechHelp Thank you my friend

    • @nagamaninagamani8194
      @nagamaninagamani8194 3 ปีที่แล้ว

      @@OSTechHelp The total content is not displayed in the sheet . Only 2 boxes are appeared the other one is gone in the download sheet. Could you please tell me the solution.
      Thank you.

  • @hedwig99
    @hedwig99 3 ปีที่แล้ว

    Hey please provide source code

    • @OSTechHelp
      @OSTechHelp  3 ปีที่แล้ว

      Please check it in video description.