Usage
PaymentSession.setHoverStyle([<HostedFieldsRole>], styles)
Example
PaymentSession.setHoverStyle(["cardNumber","securityCode"], {
borderColor: 'red',
borderWidth: '3px'
});
Arguments
<HostedFieldsRole>
Array
COMPULSORY
An array of field roles for the hosted card fields, to be styled when the focus is gained. Valid array of field roles: ['cardNumber','securityCode']
styles
Object
COMPULSORY
An object containing JavaScript CSS properties.
Return Value
None