Session onMouseOut

onMouseOut Callback

The onMouseOut( ) callback invokes the function registered against this event when the payer's mouse pointer moves away from the hosted field in the iFrame.


Usage Copied to clipboard

PaymentSession.onMouseOut([HostedFieldsRole], function(selector));


Example Copied to clipboard

PaymentSession.onMouseOut(['card.number', 'card.securityCode'], function(selector) {
    //handle mouse out event
});

Arguments Copied to clipboard

HostedFieldsRole Copied to clipboard Array

An array of field roles for the hosted fields where the event occurred. Valid array of field roles:

card.number
card.securityCode
giftCard.number
giftCard.pin
ach.bankAccountNumber
ach.bankAccountHolder
ach.routingNumber
callbackFunction Copied to clipboard Function

The callback function invoked with the selector for the field whose proxy triggered the event.


Return Value Copied to clipboard

None