ExpLookitText Class
A frame to display text-only instructions, etc. to the user.
"frames": {
"study-intro": {
"id": "geom-intro",
"blocks": [
{
"emph": true,
"text": "Important: your child does not need to be with you until the videos begin. First, let's go over what will happen!",
"title": "Your baby, the physicist"
},
{
"text": "Some introductory text about this study."
},
{
"text": "Another paragraph about this study."
}
],
"showPreviousButton": false,
"kind": "exp-lookit-text"
}
}
Methods
serializeContent
-
eventTimings
The base class does not define any data to save to the server. It does, however, capture some basic event timing data. (such as when the user clicks the "next" button)
This section slightly breaks YUIDoc conventions- rather than being a literal guide to using the code, the "parameters" here are abstract descriptions of what data is captured.
Each frame that extends ExpFrameBase will send an array eventTimings
back to the server upon completion. This array is an ordered list (oldest
to newest) of every EVENT that happened during the frame. Each event is
represented as an object with at least the properties
{'eventType': EVENTNAME, 'timestamp': TIMESTAMP}
. Frame-specific events
may define additional properties that are sent.
Parameters:
-
eventTimings
Array
Returns:
Properties
Events
nextFrame
Move to next frame