Reputation: 803
While displaying pdf file in Angular 6 using ngx-extended-pdf-viewer, I am getting an error in console as shown below-
html -
<ngx-extended-pdf-viewer src="assets/dataset/doc_2.pdf" id="idocument" type="application/pdf" width="100%"></ngx-extended-pdf-viewer>
Tried adding delayFirstView="1000" in the properties in html but not working.
I have same confiuration as suggested on this page.
Upvotes: 0
Views: 935
Reputation: 803
Adding useBrowserLocale="true"
in HTML properties solved the issue.
Upvotes: 1