Abstract Forage Element
⚠️ Forage developers use this class to manage common attributes across ForageElement types. You don't need to use or worry about it!
Inheritors
Inherited properties
Functions
⚠️ The setForageConfig method is only valid for online-only transactions. Use setPosForageConfig for in-store POS Terminal transactions.
⚠️ The setPosForageConfig method is only valid for in-store POS Terminal transactions.
Inherited 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.
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.
Sets the text color for the ForageElement.
Sets the text size for the ForageElement.