Forage Element
The interface that defines methods for configuring and interacting with a ForageElement. A ForageElement is a secure, client-side entity that accepts and submits customer input for a transaction. Both ForagePANEditText and ForagePINEditText adhere to the ForageElement interface.
See also
Inheritors
Properties
Functions
Gets the current ElementState state of the ForageElement.
Sets the border color of the input field.
Sets the border thickness of the input field.
Sets the border thickness of the input field when the field is in focus state.
⚠️ The setForageConfig method is only valid for online-only transactions. Use setPosForageConfig for in-store POS Terminal transactions.
Sets the hint text color.
Sets an event listener to be fired when the ForageElement is blurred.
Sets an event listener to be fired when the text inside the ForageElement input field changes.
Sets an event listener to be fired when the ForageElement is in focus.
⚠️ The setPosForageConfig method is only valid for in-store POS Terminal transactions.
Sets the text color for the ForageElement.
Sets the text size for the ForageElement.