Modal
SDK provides various methods and attributes to work with Fund Kit Widget
You can obtain the AarcFundKitModal
object from @aarc-xyz/fundkit-web-sdk
. This Class provides various methods and attributes for interacting with the widget, such as opening and closing it, setting a custom amount, and more.
Learn more about custom types from here
Method/Attribute
Type
Description
config
FKConfig | undefined
The configuration object for the modal.
openModal
Function
Open modal iFrame view
close
Function
Close modal iFrame view
init
Function
Initialize the listeners
Example
Ensure config
is properly configured before using openModal
Last updated