import { Component, signal, ViewEncapsulation } from '@angular/core'; import { EpdfPdfViewer } from '@embedpdf/viewer-angular'; const welcome = 'https://www.embedpdf.com/pdfs/welcome.pdf'; // Your own words for two of the viewer's labels, in each language. const strings = { en: { 'mode:annotate': 'Review', 'document:download': 'Save a copy' }, de: { 'mode:annotate': 'Prüfen', 'document:download': 'Kopie speichern' }, fr: { 'mode:annotate': 'Relire', 'document:download': 'Enregistrer une copie' }, nl: { 'mode:annotate': 'Nakijken', 'document:download': 'Kopie opslaan' }, ar: { 'mode:annotate': 'مراجعة', 'document:download': 'حفظ نسخة' }, }; @Component({ selector: 'demo-root', imports: [EpdfPdfViewer], styleUrl: './languages.css', encapsulation: ViewEncapsulation.None, template: `