DCA widget: parameters
Optional init call parameters
Section titled “Optional init call parameters”The init call, as described in Getting Started, can contain several key-value pairs to fine-tune the widget. The different options are described below.
| Key | Type | Description | Default |
|---|---|---|---|
startInOverview | boolean | If it is preferred to show an overview of the user’s DCA plans instead of the start page, you can set this value to true. | false |
All widgets support selector, debug, locale and theme.
Additional calls to the widget
Section titled “Additional calls to the widget”The widget accepts several calls to it with which additional information can be provided. These can be added to the script tag that loads the widget.
Locale
Section titled “Locale”This call sets the locale for the application. This determines the way monetary values are displayed. For example 0 Euro’s in the EN-GB locale is displayed as “€0.00” whereas the NL-NL locale results in ”€ 0,00”.
btcdirect('locale', { locale: 'en-GB' });