ngx-sand-credit-cards
Version:
An angular custom credit card package module.
54 lines (53 loc) • 1.34 kB
TypeScript
import { EventEmitter, OnInit } from '@angular/core';
export declare class NgxSandCreditCardsComponent implements OnInit {
selector: any;
clickedInside: boolean;
showBack: any;
name: string;
expiry: string;
expiryMonth: string;
expiryYear: string;
cvv: string;
cardNumber: any;
providerLogo: any;
providerType: any;
cardType: any;
cardProviders: {
id: number;
name: string;
}[];
/**
* Get the card type
*/
/**
* Get the card type
*/
bankName: string;
/**
* Get the card name
*/
cardName: string;
/**
* Select event when user select a value from list
*/
valueSelect: EventEmitter<any>;
constructor();
ngOnInit(): void;
onClick(event: any): void;
changeMonth(): void;
changeYear(): void;
changeProvider(): void;
changeCardType(event: any): void;
/**
* click listener for host inside this component i.e
* if many instances are there, this detects if clicked inside
* this instance
*/
clickInsideComponent(): void;
blur(event: any): void;
focus(event: any): void;
/**
* click handler on documnent to hide the open dropdown if clicked outside
*/
clickOutsideComponent(): void;
}