Closed searleser97 closed 7 years ago
Could you please verify if this issue still exists on the newly released version 2?
You may be missing the imports mentioned in the readme:
import { PDFView } from 'nativescript-pdf-view';
import { registerElement } from 'nativescript-angular';
registerElement('PDFView', () => PDFView);
And if it still doesn't appear you can try the flex layout mentioned in the readme, or as a quick check add width and height:
<PDFView width="200" height="200" [src]="src" (load)="onLoad()"></PDFView>
is good now
this is what I have
name.html ...
<PDFView [src]="src" (load)="onLoad()"></PDFView>
...name.component.ts ...
...
It's just showing the alert but not the pdf.