@jspsych-contrib/plugin-image-hotspots
v1.1.0
Published
A plugin for displaying an image with clickable regions
Downloads
70
Readme
plugin-image-hotspots
Overview
A plugin for displaying an image with clickable regions (hotspots). This plugin allows researchers to present an image to participants and define rectangular regions that can be clicked like buttons. When a region is clicked or touched, visual feedback is provided and the trial records which region was selected along with response time and click coordinates.
Loading
In browser
<script src="https://unpkg.com/@jspsych-contrib/[email protected]"></script>Via NPM
npm i @jspsych-contrib/plugin-image-hotspotsimport jsPsychImageHotspots from '@jspsych/plugin-image-hotspots';Compatibility
plugin-image-hotspots requires jsPsych v8.0.0 or later.
Documentation
See documentation
Author / Citation
Claude
