var stripe = Stripe('pk_test_yAMhco8z0DNHBPQQRkvReE0q');
var elements = stripe.elements();
var options = {
  // Custom styling can be passed to options when creating an Element.
  style: {
    base: {
      // Add your base input styles here. For example:
      fontSize: '16px',
      color: '#32325d',
      padding: '10px 12px',
    },
  }
}

// Create an instance of the idealBank Element.
var idealBank = elements.create('idealBank', options);

// Add an instance of the idealBank Element into
// the `ideal-bank-element` <div>.
idealBank.mount('#ideal-bank-element');

idealBank.on('change', function(event) {
  var bank = event.value;
  // Perform any additional logic here...
});