html-keyboard-response-raf
Overview
This plugin implements the same functionality as the html-keyboard-response plugin, but uses requestAnimationFrame internally for timing
Loading
In browser
<script src="https://unpkg.com/@jspsych-contrib/plugin-html-keyboard-response-raf@1.0.1">
Via NPM
npm install @jspsych-contrib/plugin-html-keyboard-response-raf
import jsPsychHtmlKeyboardResponseRaf from '@jspsych-contrib/plugin-html-keyboard-response-raf';
Compatibility
jsPsych 7.0.0
Documentation
See documentation
Author / Citation
Josh de Leeuw