I need implement feature that will show a pdf file.
I would like can drag, drop to set position of signature area and catch coordinate like { x: 120, y: 120, page: 1 }.
Does anyone have it working or have solution for it? Thanks very much
I need implement feature that will show a pdf file.
I would like can drag, drop to set position of signature area and catch coordinate like { x: 120, y: 120, page: 1 }.
Does anyone have it working or have solution for it? Thanks very much
Is your React app a single-page app w/o a server component at all? all code is running client-side on the browser?
If that's the case, you need to use CORS in order to make API calls, and configure CORS to have the specific URLS related to where your app will reside.
https://developers.docusign.com/platform/single-page-applications-cors/ has all the information about this topic.
You can see code example on codePen and run it directly if you go to https://codepen.io/docusign/pen/vYVeqEL which is this code: