IBAN element
Learn how to use the IBAN element.
Creating an IBAN element
var ibanOptions = {
"classes": {
"base": "DRElement",
"complete": "iban-complete",
"empty": "iban-empty",
"focus": "iban-focus"
},
"style": {
"base": {
"color": "#495057",
"height": "35px",
"fontSize": "1rem",
"fontFamily": "apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif",
":hover": {
color: "#ccc",
},
"::placeholder": {
color: "#495057"
}
},
"focus": {
":hover": {
"color": "#495057",
},
},
"empty": {
":hover": {
"color": "#495057",
},
},
"complete": {
":hover": {
"color": "#495057",
},
}
}
};
var iban = digitalriverpayments.createElement('iban', ibanOptions);IBAN element functions
iban.mount();
iban.unmount();
iban.destroy();
IBAN element events - iban.on('event', handler);
Ready
Focus
Blur
Change
Key
Value Description
Last updated