@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) • 550 B
TypeScript
type Props = {
container: HTMLDivElement;
onAction: (_evt: Event) => (_val: string) => void;
onClose: (notClosePayment: boolean) => void;
otpMessage: string;
};
export declare class CardOtpValidationForm {
container: HTMLElement | Element;
cardOtp: string;
private onClose;
private onAction;
private otpMessage;
constructor(props: Props);
attachListener(): void;
handleOtpInput(event: InputEvent, button: HTMLButtonElement | null): void;
renderComponent(): void;
render(): string;
}
export {};