Skip to content

Instantly share code, notes, and snippets.

View BasketCase808's full-sized avatar
🙈
Clickin around and what not

Moores BasketCase808

🙈
Clickin around and what not
  • Manchester
View GitHub Profile
@mikermcneil
mikermcneil / stripe-card-element.component.js
Created February 9, 2019 15:37
An example of a component for using Stripe Elements with parasails / Vue.js (`<stripe-card-element>`)
/**
* <stripe-card-element>
* -----------------------------------------------------------------------------
* A wrapper for the Stripe Elements "card" component (https://stripe.com/elements)
*
* Example usage:
* ```
* <stripe-card-element stripePublishableKey="…" v-model="formData.cardInfo"></stripe-card-element>
* ```
*