3min
Customizing widget
Since widget has optional parameters that can be set during initialisation, let's see what are parameters that can be configured with it and how to enable OffRamp functionality as well.
By Default widget will be initialised with Onramp feature.
Offramp can be enabled by setting the flag to offRamp: "enabled" as shown in below example.
JS
|
Both on and off ramp can be enabled by setting respective flags to a value as enabled as shown below.
JS
|