Universign iframe integration for Angular. Gives you the possibility to sign documents in the browser.
The universign iframe integration relies on this documention.
The component loads an universign javascript file that creates an iframe in which a user can sign documents.
npm install ngx-universign
- Import
UniversignModule
to your Angular application
import { UniversignModule } from 'ngx-universign';
@NgModule({
imports: [
UniversignModule
]
})
export class AppModule {}
- Add
<ngx-universign-iframe [signerId]="signerId">
in your template. It will load the document to sign in the iframe. - The
signerId
identifier si provided by universign once the document is uploaded.
There is two universign environments (sign.test.universign.eu and app.universign.com) and a different javascript file for each one:
- https://sign.test.universign.eu/sig/embed.js (loaded by default)
- https://app.universign.com/sig/embed.js (production)
- To use the production mode, you can do:
UniversignModule.forRoot({prodMode: true})