jsPsych/.changeset/on-load-plugins.md
bjoluc 37b85f953c
Setup changesets (#2066)
* Setup changesets and the changesets GH action
* Lower package versions so changesets can bump them
* Add changesets for all changes on the `modularization` branch

Co-authored-by: Josh de Leeuw <josh.deleeuw@gmail.com>
Co-authored-by: Becky Gilbert <beckyannegilbert@gmail.com>
2021-09-30 21:39:25 +02:00

602 B

jspsych @jspsych/plugin-audio-button-response @jspsych/plugin-audio-keyboard-response @jspsych/plugin-audio-slider-response @jspsych/plugin-external-html @jspsych/plugin-webgazer-init-camera
major minor minor minor minor minor

Added the option for plugins to return a Promise and delay the execution of the on_load event handler for the trial until the plugin manually invokes it. This allows for plugins that have asynchronous components to finish loading before triggering the on_load event. Added this functionality to all plugins that currently require it.

pr:2130