Turn paged div into PDF

Asked

Viewed 13 times

0

I have a DIV where inside it, there are several other div mounting a Card (HTML), and these cards are paginated through Jquery twbsPagination.

The idea is, how would I use jsPDF and turn each page into a horizontal PDF file containing the 10 cards.

Follow the PRINT of how it is being displayed and the code structure of each card.

        <!-- CARTÃO -->
        <div class="flip-container center float-left" id="flip-toggle">
            <div class="print-flipper">

                <div class="print-front">
                    <b class="name-title">Wladi Veras</b>
                    <span class="sub-title">Desenvolvedor Web</span>

                    <img class="element-avatar"
                        src="{{ asset('assets/media/users/100_10.jpg') }}"
                        width='90' height='100' ">

                        <img style=" position:absolute"
                        src="{{ asset('assets/media/cards/FRENTE.png') }}"
                        width="213.54" height="332.59" />
                </div>
            </div>
        </div>
    </div>

inserir a descrição da imagem aqui

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.