Listen to Widget events
instantor.attachEventListener(eventName, callbackFunction(payload))Example
const instantor = new Instantor('produktKey.example')
instantor.attachEventListener('chooseBank', function(payload) {
console.log("The user selected this bank: " + payload.bankAbbreviation);
})
instantor.load('#instantor_div');Last updated
Was this helpful?