This repository was archived by the owner on Sep 7, 2022. It is now read-only.
How to use nativescript-pdf-view in .ts files #34
rabindhas007
started this conversation in
General
Replies: 1 comment
-
|
could some one guide me as i am new to nativescript |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Experts,
I am trying to use "nativescript-pdf-view" like below in one of my native script project .
import { PDFView } from 'nativescript-pdf-view';
// Create pdf display using External plugin
this._pdf = new PDFView();
this._StackLayout.addChild(this._pdf);
Howevere i am getting dump while trying to create the instance of pdf view as shown above (Its working fine when i create instance from .xml , as shown in the examples.).
Could you help me on how to create instance of nativescript-pdf-view in code behind files in native script.
Beta Was this translation helpful? Give feedback.
All reactions