import { Component } from '@angular/core'; import { EpdfPdfViewer, type ViewerConfig } from '@cloudpdf/viewer-angular'; const links = { grant: 'shr_xs-9Y5qwuYrJ2BKtWzuo_2xy' }; @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)' }, }, }; }