I hope you are doing great. I have read your tool documentation, I understand also. I have 2 questions regarding the code.
Needed class component react js code. in your docs functional component code available. It would be easy for me if you provide me code that is compatible with the class component.
Another thing is that Actually I am using React js with dot net. I haven’t a public folder in our code. and in a demo, you guys explained about the public folder which is used to store some pdf Tron files.
kindly guide me I am a bit confused. How I can configure it in our existing application
Which tool documentation were you looking at?
And as for the React question, which guide were you looking at? Could you send me the link? Also, you can take a look at this sample project for WebViewer with React.
The React function component and class component can be converted into each other most of the time. Which specific Tool documentation are you having question about?
@Andrey Could you help take a look at the question regarding React project set up? Thanks!
kindly check the snap., actually we aren’t using the public folder and how we can access lib and file, and kindly guide me regarding the class component, in reactjs
@BossRizwan looks correct for the most part, you can cross-check our repo sample before we updated it to hooksmhttps://github.com/PDFTron/webviewer-react-sample/blob/92edf49ca363c8d508c69aa11235a0def4a26872/src/App.js
Dear @Andrey, Actually we have these types of google drive URLs. and want to open these file into pdf Tron then do some changes and save it, after saved the annotation, the google drive file auto-updated.
Is it’s possible? if yes, kindly send me some references and help material for it.
Thanks, this kind of falls out of our domain expertise, but I found this guide that will be helpful: Download files | Google Drive API | Google Developers. You can get the stream/blob/file and then pass it to WebViewer.