jsPsych/packages/extension-mouse-tracking/CHANGELOG.md
2025-01-07 18:26:56 +00:00

2.8 KiB

@jspsych/extension-mouse-tracking

1.2.0

Minor Changes

  • #3385 3948fdc0ac176584fe4b8fe0b9cca5ed6e8b3afc Thanks @cherriechang! - Added citations property to info field of all plugins/extensions in two citation formats (apa, bibtex); added getCitations() as function in jsPsych package allowing user to generate citations by passing an array of plugins/extensions by name as first input and citation format as string as second input; changed template of plugins/extensions to contain citations field by default; citations for each plugin/extension are automatically generated from .cff file (if any) at its folder's root during build process; getCitations() prints out citations in the form of a string separating each citation with newline character, and always prints the jsPsych library citation first.

1.1.0

Minor Changes

  • #3352 b94d961f Thanks @Bankminer78! - Extensions now return an extension_type and extension_version when returning data (metadata purposes).

1.0.3

Patch Changes

  • #3184 9acfa29c Thanks @bjoluc! - Point to source maps via canonical unpkg URLs in NPM-published browser builds. This prevents 404 errors when using redirecting CDN URLs (as described in #3043).

1.0.2

Patch Changes

1.0.1

Patch Changes

  • #2632 a17f423f Thanks @bjoluc! - Improve browser compatibility when loading via unpkg.com, i.e. when using the dist/index.browser.min.js build artifact.

1.0.0

Major Changes

  • #2228 3e2e3ac8 Thanks @jodeleeuw! - Created an extension that enables mouse tracking. The extension records the coordinates and time of mousemove, mousedown, and mouseup events, as well as optionally recording the coordinates of objects on the screen to enable mapping of mouse events onto screen objects.