Angular

Steps to integrate the Web SDK into Angular application.

1. Installation

To install the Preventor Web SDK, add the following to your project’s:

  1. Install the latest version from NPM.

npm i @preventor/ngx-pvt-button

2. Import the NgxPvtButtonModule module.

import { NgxPvtButtonModule } from '@preventor/ngx-pvt-button';

@NgModule({
  imports: [
    // ...
    NgxPvtButtonModule
  ]
})
export class MyModule {}

3. Add ngx-pvt-button tag in your HTML

<ngx-pvt-button [config]="YOUR_CONFIGURATION"></ngx-pvt-button>

You have successfully installed the Preventor Web SDK!

Last updated