ATMHotspot - Banks (Angular)
The official Angular library for the Hover Software Solutions ATMHotspot API
Installation
npm i @codekeyz/ng-atmbank
Example use:
Inside your app.module.ts
file, add this
import { BankModule } from '@codekeyz/ng-atmbank';
import { NgModule } from '@angular/core';
@NgModule({
declarations: [],
imports: [
BankModule.forRoot({
isDevMode: false
})
]
})
export class AppModule {}
You can now access BankAuthService
, BankService
, BankAuthService
anywhere in your app.
import { BankService } from '@codekeyz/ng-atmbank';
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-dashboard',
templateUrl: './dashboard.component.html',
styleUrls: ['./dashboard.component.scss']
})
export class DashboardComponent implements OnInit {
constructor(private dataSvc: BankService) {}
ngOnInit() {}
}
Further help
Official Documentation will be available pretty soon.