Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 752 Bytes

File metadata and controls

35 lines (21 loc) · 752 Bytes

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/[email protected]"></script>

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