@pcllab/plugin-free-recall
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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-recall
import 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)
false

true
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

Readme

Keywords

none

Package Sidebar

Install

npm i @pcllab/plugin-free-recall

Weekly Downloads

0

Version

0.1.0

License

none

Unpacked Size

23.3 kB

Total Files

9

Last publish

Collaborators

  • rleonard
  • ryanmchu
  • zhengkyl