developers:javascript-api:start

JavaScript API

The JavaScript API is part of the installed script. It can be used to change how the browser interacts with DuckProve.

  • Examples

    A list of examples on how to use the DuckProve JavaScript API.

  • Modules

    All Modules which are available within DuckProve. Those modules can be exchanged and overriden, but should supply the same interface.

Starting

If the DuckProve script was correctly installed, there is a call to the DuckProve start function:

duckprove.start();

This call accepts a parameter, which can change the behavior of the API. There are the configs, which can be passed in using a configs property:

duckprove.start({ configs: { ... } });