Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@leendev/onramp-angular) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Leen OnRamp for Angular
OnRamp is Leen's embeddable connection onboarding component. By integrating OnRamp into your workflow, you enable your users to effortlessly create new connections with all of the vendors supported by Leen.
npm i @leendev/onramp-angularThen import the module (or register the standalone component) and provide the required inputs. For the full documentation, refer to Leen's docs on creating connections with OnRamp here.
Example (NgModule)
import { LeenOnRampModule } from "@leendev/onramp-angular";
@NgModule({
imports: [BrowserModule, LeenOnRampModule],
})
export class AppModule {}<leen-onramp
[token]="token"
(leenOnRampResponse)="handleResponse($event)"
(showLeenOnRamp)="toggleOnRamp($event)"
></leen-onramp>Example (standalone component)
@Component({
standalone: true,
imports: [LeenOnRampComponent],
template: `
<leen-onramp
[token]="token"
(leenOnRampResponse)="handleResponse($event)"
></leen-onramp>
`,
})
export class HostComponent {
token = "...";
handleResponse(response: LeenOnRampResponse | undefined) {
console.log(response);
}
}