Accessing multiple pdf's with ngx-extended-pdf-viewer

Discussão em 'Angular' iniciado por CJ84, Janeiro 28, 2025.

  1. CJ84

    CJ84 Guest

    I was messing around with the ngx-extended-pdf-viewer and got a feel for what it does BUT I was curious as to whether it was flexible enough to let a user switch between pdf's?

    As it stands this only shows one pdf but I was curious to if it was possible to switch to another pdf with different settings?

    <ngx-extended-pdf-viewer
    [src]="'assets/BootsFaces_Deep_Dive_1.0.pdf'"
    backgroundColor="#e8e8ef"
    [mobileZoom]="mobileFriendlyZoom"
    [showZoomButtons]="true"
    [showSidebarButton]="showSidebar"
    [useBrowserLocale]="true"
    [showSidebarOnLoad]="true"
    [(zoom)]="zoom"
    [height]="height"
    [handTool]="handTool"
    [page]="page"
    [filenameForDownload]="filenameForDownload"
    (pagesLoaded)="onPagesLoaded($event)"
    [(spread)]="spread"
    [language]="language"
    [showPresentationModeButton]="true">
    </ngx-extended-pdf-viewer>

    Continue reading...

Compartilhe esta Página