said-ngx-paypal
Version:
Paypal integration for Angular
9 lines (8 loc) • 338 B
TypeScript
import { NgZone } from '@angular/core';
export declare class ScriptService {
protected zone: NgZone;
constructor(zone: NgZone);
registerScript(url: string, globalVar: string, onReady: (globalVar: any) => void, onError: (scriptSrc: string) => void): void;
cleanup(globalVar: string): void;
private getElemId;
}