0.0.2 • Published 4 years ago

one-web-account-createrekening v0.0.2

Weekly downloads
8
License
-
Repository
-
Last release
4 years ago

OneWebAccountCreaterekening

This library was generated with Angular CLI version 8.2.14.

Code scaffolding

Run ng generate component component-name --project one-web-account-createrekening to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project one-web-account-createrekening.

Note: Don't forget to add --project one-web-account-createrekening or else it will be added to the default project in your angular.json file.

Build

Run ng build one-web-account-createrekening to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build one-web-account-createrekening, go to the dist folder cd dist/one-web-account-createrekening and run npm publish.

Dependencies

- PrimeNG
    https://www.primefaces.org/primeng
    npm install primeng --save
    npm install primeicons --save

Available Components

Component NameSelector
Component Create Rekening<web-account-createrekening>

Using

1. Component Create Rekening

    - HTML

    <web-account-createrekening [paramModel]="param" (value)="dataRekening($event)" ></web-account-createrekening>
    - module.ts
        imports: [OneWebAccountCreaterekeningModule]

    - component.ts
    public param : RekeningPayload;
    ngOnInit() {
        this.param = {
            CIFPayload: [
                    {
                        cif: '12345',
                        name: 'Name A',
                        customerType: 'A'
                    },
                    {
                        cif: '54321', 
                        name: 'Name B', 
                        customerType: 'B'
                    }
                ],
                BasePayload: {
                    NIK: '77777',
                    GUID: '45DDB151-62BA-43A5-95350-B176302C486E',
                    Branch: '01010',
                    MoreIndicator: 'N',
                    Module: 'OnBoarding',
                },
                url : 'https://testing.com:8080/'
        }
    }

    dataRekening(value) {
        alert(JSON.stringify(value));
    }
0.0.2

4 years ago

0.0.1

4 years ago