0.1.0 • Published 2 years ago
@pcllab/plugin-free-recall v0.1.0
free-recall-plugin
This plugin allows free recall. A text input allows any number of non-repeated words to be added to a list.
Install
With NPM:
npm i @pcllab/plugin-free-recallimport freeRecall from "@pcllab/plugin-free-recall";With CDN:
<script src="https://unpkg.com/@pcllab/plugin-free-recall"></script>Use
const trial = {
type: freeRecall,
};Parameters
| Parameter | Type | Description | Examples |
|---|---|---|---|
| allow_delete | boolean | Allow recalled words to be deleted | (default)falsetrue |
| button_label | string | Label to show on continue button | (default)"Continue""Next""继续" |
| stimulus | html string | Arbitrary HTML to show above the input | (default)""<h1>Type what you remember.</h1> |
Data Generated
This plugin will output data for each recalled word.
In addition to the default data collected by all plugins, this plugin collects the following data for each recalled word.
| Name | Type | Value |
|---|---|---|
| response | string | A word added to the recall list |
| rt | number | Time in ms between start of trial and submitting a word |