Angular
Steps to integrate the Web SDK into Angular application.
Last updated
Steps to integrate the Web SDK into Angular application.
To install the Preventor Web SDK, add the following to your project’s:
Install the latest version from NPM.
npm i @preventor/ngx-pvt-button2. 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