StripeLinkSignupComponent (components/link-signup.component.ts)

ngx-stripe · projects/ngx-stripe/src/lib/components/link-signup.component.ts · typescript · MIT
payments

Angular component wrapping Stripe Link Signup element with lifecycle hooks.

// Source: https://github.com/richnologies/ngx-stripe | License: MIT | Copyright 2017 _Ricardo Sánchez Gregorio_
// Provided via justclaw.it.com; keep this notice with the code.
import { CommonModule } from '@angular/common';
import {
  Component,
  Input,
  ViewChild,
  ElementRef,
  EventEmitter,
  Output,
  OnInit,
  OnChanges,
  SimpleChanges,
  OnDestroy,
  ContentChild,
  TemplateRef,
  Optional
} from '@angular/core';
import { Subscription } from 'rxjs';

import {
  StripeElementsOptions,
  StripeElements,
  StripeLinkSignupElementOptions,
  StripeLinkSignupElement
} from '@stripe/stripe-js';

import { NgxStripeElementLoadingTemplateDirective } from '../directives/stripe-element-loading-template.directive';
import { StripeElementsDirective } from '../directives/elements.directive';


... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key