# Configuration

The following options are available at the top level. They apply to all annotations unless they are overwritten on a per-annotation basis.

Name Type Scriptable Default Notes
drawTime string Yes 'afterDatasetsDraw' See drawTime
dblClickSpeed number Yes 350 Time to detect a double click in ms.

The following options are available for all annotation types. These options can be specified per annotation, or at the top level which apply to all annotations.

Name Type Scriptable Notes
enter (context) => void No Called when the mouse enters the annotation.
leave (context) => void No Called when the mouse leaves the annotation.
click (context) => void No Called when a single click occurs on the annotation.
dblClick (context) => void No Called when a double click occurs on the annotation.
Last Updated: 3/23/2021, 12:18:40 AM