bennypowers / stripe-elements

Custom Element Wrapper for Stripe.js v3 Elements
https://stripe-elements.netlify.app/
79 stars 20 forks source link

feature: expose click event #78

Open martinerko opened 2 years ago

martinerko commented 2 years ago

This PR adds ability to listen to click event on stripe element in order to run additional logic (such as validation etc.) and prevent default behavior if needed.