@spot-flow/checkout-inline-js
Version:
This project is an inline library that enables users to make payments seamlessly. It integrates smoothly into your application, providing a streamlined checkout experience.
20 lines (19 loc) • 591 B
TypeScript
type Props = {
onAction: (_val: string) => void;
container: HTMLDivElement;
onClose: (notClosePayment: boolean) => void;
};
export declare class CardPinForm {
container: HTMLElement | Element;
private cardPin;
private onAction;
private onClose;
private pinValues;
constructor(props: Props);
attachListener(): void;
handlePinPaste(event: ClipboardEvent, pinInputs: HTMLInputElement[]): void;
handlePinInputChange(event: Event, index: number, pinInputs: HTMLInputElement[]): void;
renderComponent(): void;
render(): string;
}
export {};