JSPM

@leendev/onramp-angular

0.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 3
    • Score
      100M100P100Q31962F
    • License MIT

    Angular wrapper for Leen OnRamp

    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-angular

      Then 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);
        }
      }