import { Component } from '@angular/core'; import { EpdfPdfViewer, type ViewerConfig } from '@embedpdf/viewer-angular'; const links = 'https://www.embedpdf.com/pdfs/links.pdf'; @Component({ selector: 'demo-root', imports: [EpdfPdfViewer], template: ``, }) export class App { readonly links = links; readonly config: ViewerConfig = { plugins: { stage: { spread: 'odd', zoom: { mode: 'fit-width' } }, selection: { color: 'rgb(124 58 237 / 0.3)' }, }, }; }