Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use it for signing pdf in React application #32

Closed
nirmalpatra27 opened this issue Feb 22, 2024 · 2 comments
Closed

How to use it for signing pdf in React application #32

nirmalpatra27 opened this issue Feb 22, 2024 · 2 comments

Comments

@nirmalpatra27
Copy link

I want to sign a pdf in the React application. Kindly help with the sample code

@nirmalpatra27
Copy link
Author

Thanks in advance

@damianofalcioni
Copy link
Owner

Hi,
you have to convert the https://github.com/damianofalcioni/Websocket-Smart-Card-Signer/blob/master/examples/websocket_smartcard_signer_lib.js as an ESM module first (just add an export websocket_smartcard_signer at the end) and then you can import the library in your react script as usual and use the functions as shown in https://github.com/damianofalcioni/Websocket-Smart-Card-Signer/blob/master/examples/websocket_smartcard_signer_test_page.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants