Skip to content

DCA widget: 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.

KeyTypeDescriptionDefault
startInOverviewbooleanIf 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.

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.

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' });