📄️ Configuration
All the methods will be available through the Macropay class. In order to create an instance, a config object must be provided through the class constructor as a param. The following table describes the config object:
📄️ Initialization
In the default mode, a full form with a submit button and a card types component will be rendered. This is a basic implementation and form initialization example:
📄️ Styling and customization
Through the styles property in the formOptions object, the form can receive some styling specifications like font color and size, input height, border color and a few more. This is an example about how the styling options can be provided:
📄️ Appendices
Methods