Sha256: c9e46dc9adfbc952f80e280b868475b29ff6a8673dd4b2126a6baa8b8f341d31

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

// if (event.type === "focus") {
//   console.log('focus');
// } else if (event.type === "blur") {
//   console.log('blur');
// } else if (event.type === "fieldStateChange") {
//   console.log('fieldStateChange');
//   console.log(event.isValid); // true|false
//   if (event.card) {
//     console.log(event.card.type);
//     // visa|master-card|american-express|diners-club|discover|jcb|unionpay|maestro
//   }
// }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_braintree_vzero-3.6.0 app/views/spree/checkout/payment/braintree_vzero/_hosted_fields_on_field_event_callback.js.erb
spree_braintree_vzero-3.5.1 app/views/spree/checkout/payment/braintree_vzero/_hosted_fields_on_field_event_callback.js.erb