Skip to content
On this page

Optional Init Call Parameters

The init call parameters can contain several key-value pairs to fine-tune the widget. (as described in Getting Started)

The different options are described below.

selectorstringThe CSS selector of the HTML element to bind the order form to..btcdirect-widget
debugbooleanSetting this to ‘true’ enables more console logging for the widget.
Recommended for development.
localestringThe locale to use.
This is the same as used in Locale.
themestringThe styling theme to use.
Can either be light or dark.

Some widgets support additional init call parameters.

Made with ❤ by BTC Direct