@hmcts/ccpay-web-component
v6.2.9-beta1
Published
Angular web component for displaying payments returned from ccpay api
Downloads
5,862
Maintainers
Keywords
Readme
@hmcts/ccpay-web-component
This package contains web components ready to be used and imported by into Angular 6 projects.
How to install
npm i @hmcts/ccpay-web-component
- Import the module into your angular application
import {PaymentLibModule} from 'payment-lib'; (...) imports: [ (...) , PaymentLibModule ] (...)
- Add the tag into your project and pass in the url to the backend api:
<ccpay-payment-lib [API_ROOT]=“’http://localhost:1080'“></ccpay-payment-lib>